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,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
|
||||||
|
|
Loading…
Add table
Reference in a new issue