Fixed puppet restart when running it manually.

This commit is contained in:
Timo Mkinen 2009-10-22 21:42:23 +03:00
parent c9d5371940
commit 90f9560140

View file

@ -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"],
}
}
}