diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-25 17:20:35 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-01-25 17:20:35 -0200 |
commit | a3b1c9e77a76b93f7fdc151edc55a14c96b8f1de (patch) | |
tree | 370c542dec94f89a676df2623cbdbf06b643b08c | |
parent | 1e8b69d0189d275cb8e13fa332d0ca1a5e7e10e6 (diff) | |
download | puppet-puppet-a3b1c9e77a76b93f7fdc151edc55a14c96b8f1de.tar.gz puppet-puppet-a3b1c9e77a76b93f7fdc151edc55a14c96b8f1de.tar.bz2 |
Fixing servertype dependency
-rw-r--r-- | manifests/master.pp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/master.pp b/manifests/master.pp index f81f2b3..b9da65f 100644 --- a/manifests/master.pp +++ b/manifests/master.pp @@ -67,7 +67,10 @@ class puppet::master( group => root, mode => 0644, content => template('puppet/puppetmaster.erb'), - notify => Service['puppetmaster'], + notify => $servertype ? + 'mongrel' => Service['puppetmaster'], + default => Package['puppetmaster-passenger'], + }, } file { "/etc/puppet/files": |