Skip to content

Commit

Permalink
A small fix to manage JIRA startup on boot
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreyev Dias de Melo committed May 14, 2014
1 parent c816b9f commit 3f206fa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions jira.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ jira::downloadURL: "http://www.atlassian.com/software/jira/downloads/binary/"
# Boolean dictating if puppet should manage the service
jira::service_manage: true
jira::service_ensure: running
jira::service_enable: true

# Tomcat settings
jira::tomcatMaxThreads: '150'
Expand Down
3 changes: 1 addition & 2 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,9 @@
# Manage service
$service_manage = true,
$service_ensure = running,

$service_enable = true,
# Tomcat
$tomcatPort = 8080,

# Tomcat Tunables
$tomcatMaxThreads = '150',
$tomcatAcceptCount = '100',
Expand Down
1 change: 1 addition & 0 deletions manifests/service.pp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
if $jira::service_manage {
service { 'jira':
ensure => $jira::service_ensure,
enable => $jira::service_enable,
provider => base,
start => '/etc/init.d/jira start',
restart => '/etc/init.d/jira restart',
Expand Down

0 comments on commit 3f206fa

Please sign in to comment.