summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-08-11 13:39:29 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-08-11 13:39:29 -0300
commit6aea39ca5a889ae130575987e89db6e09f0bcdd3 (patch)
tree4d5417464a77ebf120c5c64180f12ee41d43ab51
parent10524f282a920d4227fa398609e8582a40626c70 (diff)
downloadpuppet-bitcoind-6aea39ca5a889ae130575987e89db6e09f0bcdd3.tar.gz
puppet-bitcoind-6aea39ca5a889ae130575987e89db6e09f0bcdd3.tar.bz2
Notifying bitcoind service
-rw-r--r--manifests/init.pp2
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':