diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-08-11 13:39:29 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-08-11 13:39:29 -0300 |
commit | 6aea39ca5a889ae130575987e89db6e09f0bcdd3 (patch) | |
tree | 4d5417464a77ebf120c5c64180f12ee41d43ab51 | |
parent | 10524f282a920d4227fa398609e8582a40626c70 (diff) | |
download | puppet-bitcoind-6aea39ca5a889ae130575987e89db6e09f0bcdd3.tar.gz puppet-bitcoind-6aea39ca5a889ae130575987e89db6e09f0bcdd3.tar.bz2 |
Notifying bitcoind service
-rw-r--r-- | manifests/init.pp | 2 |
1 files changed, 2 insertions, 0 deletions
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': |