From 6aea39ca5a889ae130575987e89db6e09f0bcdd3 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 11 Aug 2012 13:39:29 -0300 Subject: Notifying bitcoind service --- manifests/init.pp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/manifests/init.pp b/manifests/init.pp index d086b50..b553818 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -40,6 +40,7 @@ class bitcoind($daemon_args = '-daemon', $rpcpassword) { mode => 0600, content => template('bitcoind/bitcoin.conf.erb'), require => File['/var/lib/bitcoin/.bitcoin'], + notify => Service['bitcoind'], } file { '/etc/init.d/bitcoind': @@ -48,6 +49,7 @@ class bitcoind($daemon_args = '-daemon', $rpcpassword) { group => root, mode => 0755, content => template('bitcoind/bitcoind-init.d.sh.erb'), + notify => Service['bitcoind'], } service { 'bitcoind': -- cgit v1.2.3