Fixed depency errors from CentOS puppetmaster install.
This commit is contained in:
parent
d3c45cedc3
commit
05b5eb9548
1 changed files with 9 additions and 5 deletions
|
@ -187,11 +187,15 @@ class puppet::server::mongrel inherits puppet::client {
|
|||
before => File["/etc/puppet/puppet.conf"],
|
||||
}
|
||||
|
||||
exec { "stop-puppetmaster":
|
||||
command => "pkill -u puppet ; true",
|
||||
path => "/bin:/usr/bin:/sbin:/usr/sbin",
|
||||
refreshonly => true,
|
||||
before => File["/etc/default/puppetmaster"],
|
||||
case $operatingsystem {
|
||||
"debian","ubuntu": {
|
||||
exec { "stop-puppetmaster":
|
||||
command => "pkill -u puppet ; true",
|
||||
path => "/bin:/usr/bin:/sbin:/usr/sbin",
|
||||
refreshonly => true,
|
||||
before => File["/etc/default/puppetmaster"],
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
include ::mongrel
|
||||
|
|
Loading…
Add table
Reference in a new issue