Permalink
Browse files

Fixing upgrade issue with not notifying the service to restart after …

…upgrade.
  • Loading branch information...
1 parent d6ddb54 commit 58786a3447e318337ff3602bd0fb06a32f4840a7 @brycejohnson brycejohnson committed Oct 31, 2012
Showing with 4 additions and 3 deletions.
  1. +1 −1 jira.yaml
  2. +3 −0 manifests/config.pp
  3. +0 −2 manifests/service.pp
View
@@ -19,7 +19,7 @@
#
# Atlassian jira Git Enterprise Source Control Server
jira_name: jira
-jira_version: 5.1.4
+jira_version: 5.1.7
@brycejohnson

brycejohnson Dec 16, 2012

Contributor

@brycejohnson look at going to JIRA 5.2 soon

jira_package_format: zip
# Directory where the webapp will run from
View
@@ -27,20 +27,23 @@
content => template('jira/setenv.sh.erb'),
mode => '0755',
require => Class['jira::install'],
+ notify => Class['jira::service'],
}
if "${jira::params::db}" == 'postgresql' {
file { "${jira::params::homedir}/dbconfig.xml":
content => template('jira/dbconfig.postgres.xml.erb'),
mode => '0600',
require => [Class['jira::install'],Exec['mkdirp-homedir-jira']],
+ notify => Class['jira::service'],
}
}
if "${jira::params::db}" == 'mysql' {
file { "${jira::params::homedir}/dbconfig.xml":
content => template('jira/dbconfig.mysql.xml.erb'),
mode => '0600',
require => [Class['jira::install'],Exec['mkdirp-homedir-jira']],
+ notify => Class['jira::service'],
}
}
}
View
@@ -25,5 +25,3 @@
require => Class['jira::config'],
}
}
- #status => "pg_lsclusters -h | awk 'BEGIN {rc=0} {if (\$4 != \"online\") rc=3} END { exit rc }'",
-#/opt/java/jdk1.6.0_33/bin/jps |grep Bootstrap # but has high risk for any tomcadt

0 comments on commit 58786a3

Please sign in to comment.