Fixed depency errors from CentOS puppetmaster install.

This commit is contained in:
Timo Mkinen 2011-08-01 12:06:10 +03:00
parent d3c45cedc3
commit 05b5eb9548

View file

@ -187,12 +187,16 @@ class puppet::server::mongrel inherits puppet::client {
before => File["/etc/puppet/puppet.conf"], before => File["/etc/puppet/puppet.conf"],
} }
case $operatingsystem {
"debian","ubuntu": {
exec { "stop-puppetmaster": exec { "stop-puppetmaster":
command => "pkill -u puppet ; true", command => "pkill -u puppet ; true",
path => "/bin:/usr/bin:/sbin:/usr/sbin", path => "/bin:/usr/bin:/sbin:/usr/sbin",
refreshonly => true, refreshonly => true,
before => File["/etc/default/puppetmaster"], before => File["/etc/default/puppetmaster"],
} }
}
}
include ::mongrel include ::mongrel
include ldap::client::ruby include ldap::client::ruby