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
|
@ -51,11 +51,11 @@ class puppet::client {
|
|||
}
|
||||
default: {
|
||||
service { "puppet":
|
||||
ensure => running,
|
||||
enable => true,
|
||||
hasrestart => true,
|
||||
require => Package["puppet"],
|
||||
subscribe => File["/etc/puppet/puppet.conf"],
|
||||
ensure => running,
|
||||
enable => true,
|
||||
restart => "/usr/bin/pkill -HUP puppetd",
|
||||
require => Package["puppet"],
|
||||
subscribe => File["/etc/puppet/puppet.conf"],
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue