summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2012-07-06 16:24:04 +0000
committervarac <varacanero@zeromail.org>2012-07-06 16:24:04 +0000
commitb5bbca3a198612fbf0ee6232875e1d4d08902ef6 (patch)
tree1998d0476ec8f3f406279ceae92cc801bacbbfbd /manifests
parent931f021a1fe45636aec3b5332848dd912425affe (diff)
added puppetmaster service def. for passenger
Diffstat (limited to 'manifests')
-rw-r--r--manifests/puppetmaster/linux.pp9
1 files changed, 9 insertions, 0 deletions
diff --git a/manifests/puppetmaster/linux.pp b/manifests/puppetmaster/linux.pp
index 31f8853..26f67fe 100644
--- a/manifests/puppetmaster/linux.pp
+++ b/manifests/puppetmaster/linux.pp
@@ -6,6 +6,15 @@ class puppet::puppetmaster::linux inherits puppet::linux {
#command => 'touch /etc/puppet/rack/tmp/restart.txt && sleep 1 && rm /etc/puppet/rack/tmp/restart.txt',
command => '/etc/init.d/apache2 reload',
}
+
+ service { 'puppetmaster':
+ ensure => running,
+ pattern => 'apache2',
+ hasstatus => true,
+ hasrestart => true,
+ require => [ Package[puppet] ],
+ }
+
} else {
service { 'puppetmaster':
ensure => running,