From 91caca2432203e531ec0c78e915b536bfe0e725f Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Fri, 5 Nov 2010 00:39:09 +0000 Subject: - add a configuration so postgresql is not uselessly reload on each run on alamut --- modules/postgresql/manifests/init.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/postgresql/manifests/init.pp b/modules/postgresql/manifests/init.pp index 05c15468..66181a3f 100644 --- a/modules/postgresql/manifests/init.pp +++ b/modules/postgresql/manifests/init.pp @@ -6,7 +6,8 @@ class postgresql { service { postgresql: ensure => running, subscribe => Package["postgresql9.0-server"], - restart => "/etc/rc.d/init.d/postgresql reload" + restart => "/etc/rc.d/init.d/postgresql reload", + hasstatus => true, } file { '/etc/pam.d/postgresql': -- cgit v1.2.1