From 307df28a5413b04ab2cb6ba20b64a7fa65f5e480 Mon Sep 17 00:00:00 2001 From: Sean Porter Date: Sat, 11 Aug 2012 09:34:16 -0700 Subject: [PATCH] [init] sensu init scripts support restart --- manifests/client.pp | 7 ++++--- manifests/server.pp | 5 +++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/manifests/client.pp b/manifests/client.pp index db629d7a03..a81691190b 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -29,9 +29,10 @@ } service { 'sensu-client': - ensure => running, - enable => true, - require => [ + ensure => running, + enable => true, + hasrestart => true, + require => [ Sensu_rabbitmq_config[$::fqdn], Sensu_client_config[$::fqdn], ], diff --git a/manifests/server.pp b/manifests/server.pp index 7252204bf4..5f9c669fb0 100644 --- a/manifests/server.pp +++ b/manifests/server.pp @@ -46,8 +46,9 @@ } Service { - ensure => running, - enable => true, + ensure => running, + enable => true, + hasrestart => true, } service {