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,11 +187,15 @@ class puppet::server::mongrel inherits puppet::client {
before => File["/etc/puppet/puppet.conf"], before => File["/etc/puppet/puppet.conf"],
} }
exec { "stop-puppetmaster": case $operatingsystem {
command => "pkill -u puppet ; true", "debian","ubuntu": {
path => "/bin:/usr/bin:/sbin:/usr/sbin", exec { "stop-puppetmaster":
refreshonly => true, command => "pkill -u puppet ; true",
before => File["/etc/default/puppetmaster"], path => "/bin:/usr/bin:/sbin:/usr/sbin",
refreshonly => true,
before => File["/etc/default/puppetmaster"],
}
}
} }
include ::mongrel include ::mongrel