From 90f9560140f3cc6ea130533b865e572b5556db63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Thu, 22 Oct 2009 21:42:23 +0300 Subject: [PATCH] Fixed puppet restart when running it manually. --- puppet/manifests/init.pp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/puppet/manifests/init.pp b/puppet/manifests/init.pp index a8d776b..2c20d29 100644 --- a/puppet/manifests/init.pp +++ b/puppet/manifests/init.pp @@ -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"], } } }