diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index b118e99..c58adbb 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -77,6 +77,11 @@ class puppetmaster inherits puppet { require => Package[puppet], } + + Service[puppet]{ + require +> Service[puppetmaster], + } + $real_puppetmaster_conf_source = $puppet_conf_source ? { '' => [ "puppet://$server/files/puppet/master/puppet.conf", "puppet://$server/puppet/master/puppet.conf" ], @@ -106,6 +111,10 @@ class puppetmaster inherits puppet { class puppetmaster::cluster inherits puppetmaster { include mongrel, nginx + Service[puppetmaster]{ + require +> Service[ngnix], + } + File[puppet_config] { require => [ Package[mongrel], Package[nginx], File[nginx_config] ], } |