From 869ea732363afa238055c59baad5d5ca83c38024 Mon Sep 17 00:00:00 2001 From: varac Date: Tue, 27 Aug 2013 11:03:41 +0200 Subject: notify service couchdb if configuration files change --- manifests/bigcouch.pp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/manifests/bigcouch.pp b/manifests/bigcouch.pp index ffd2891..34edbe7 100644 --- a/manifests/bigcouch.pp +++ b/manifests/bigcouch.pp @@ -32,7 +32,8 @@ class couchdb::bigcouch inherits couchdb::base { mode => '0640', owner => 'bigcouch', group => 'bigcouch', - require => Package['couchdb'] + require => Package['couchdb'], + notify => Service[couchdb] } file { '/opt/bigcouch/etc/default.ini': @@ -40,7 +41,8 @@ class couchdb::bigcouch inherits couchdb::base { mode => '0640', owner => 'bigcouch', group => 'bigcouch', - require => Package['couchdb'] + require => Package['couchdb'], + notify => Service[couchdb] } Service ['couchdb'] { -- cgit v1.2.3