]> gitweb.fluxo.info Git - puppet-bitcoind.git/commitdiff
Setting rpcpassword
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 11 Aug 2012 16:33:44 +0000 (13:33 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 11 Aug 2012 16:33:44 +0000 (13:33 -0300)
manifests/init.pp
templates/bitcoin.conf.erb

index c8599f07519193b70b4d0ac2b4c96819b1920353..d086b50ad939296b694d4eae672985145e790052 100644 (file)
@@ -1,4 +1,4 @@
-class bitcoind($daemon_args = '-daemon') {
+class bitcoind($daemon_args = '-daemon', $rpcpassword) {
   package { 'bitcoind':
     ensure => installed,
   }
index e56c43cb500a5fcdb781a137b97917ebaac44d49..b51bde0995ffcc097da5d942fad67ed31b81d353 100644 (file)
@@ -34,6 +34,7 @@
 # You must set rpcuser and rpcpassword to secure the JSON-RPC api
 #rpcuser=Ulysseys
 #rpcpassword=YourSuperGreatPasswordNumber_385593
+rpcpassword=<%= rpcpassword %>
 
 # By default, only RPC connections from localhost are allowed.  Specify
 # as many rpcallowip= settings as you like to allow connections from