]> gitweb.fluxo.info Git - puppet-bitcoind.git/commitdiff
Notifying bitcoind service
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 11 Aug 2012 16:39:29 +0000 (13:39 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 11 Aug 2012 16:39:29 +0000 (13:39 -0300)
manifests/init.pp

index d086b50ad939296b694d4eae672985145e790052..b553818a708903fbe484062b07666375130686aa 100644 (file)
@@ -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':