puppet: Fixed puppet agent service for Fedora 19.
This commit is contained in:
parent
f10f78a306
commit
c106c54103
1 changed files with 14 additions and 0 deletions
|
@ -111,6 +111,20 @@ class puppet::client {
|
||||||
notify => Service["puppet"],
|
notify => Service["puppet"],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
"fedora": {
|
||||||
|
service { "puppet":
|
||||||
|
name => $::operatingsystemrelease ? {
|
||||||
|
/^1[0-8]/ => "puppet",
|
||||||
|
default => "puppetagent",
|
||||||
|
},
|
||||||
|
enable => true,
|
||||||
|
restart => $::puppetversion ? {
|
||||||
|
/^[0-2]\./ => "pkill -HUP puppetd",
|
||||||
|
default => "pkill -HUP -f '/usr/bin/puppet agent'",
|
||||||
|
},
|
||||||
|
subscribe => File["/etc/puppet/puppet.conf"],
|
||||||
|
}
|
||||||
|
}
|
||||||
default: {
|
default: {
|
||||||
service { "puppet":
|
service { "puppet":
|
||||||
ensure => running,
|
ensure => running,
|
||||||
|
|
Loading…
Add table
Reference in a new issue