Fixed puppet restart when running it manually.
This commit is contained in:
parent
c9d5371940
commit
90f9560140
1 changed files with 5 additions and 5 deletions
|
@ -53,7 +53,7 @@ class puppet::client {
|
||||||
service { "puppet":
|
service { "puppet":
|
||||||
ensure => running,
|
ensure => running,
|
||||||
enable => true,
|
enable => true,
|
||||||
hasrestart => true,
|
restart => "/usr/bin/pkill -HUP puppetd",
|
||||||
require => Package["puppet"],
|
require => Package["puppet"],
|
||||||
subscribe => File["/etc/puppet/puppet.conf"],
|
subscribe => File["/etc/puppet/puppet.conf"],
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue