Hi all,
Just want to share a Puppet module I've written to manage bitcoind on Ubuntu.
For those who aren't familiar with it, Puppet is a configuration and system management "Infrastructure as Code" tool that is awesome at applying and enforcing the correct "state of the world" across almost any system.
You can check out my module below:
PuppetForge:
https://forge.puppetlabs.com/CraigWatson1987/bitcoindGitHub:
https://github.com/craigwatson/puppet-bitcoindTo install the module into your Puppet code:
puppet module install CraigWatson1987-bitcoind
Then, to use the module, simply add this single line of code to your Puppet manifest:
You can also configure the Bitcoin daemon with a huge number of options, for example to specify an RPC user/password, disable the wallet functionality, set an allowed RPC IP address and SSL key/certificate:
class { 'bitcoind':
disablewallet => true,
rpcallowip => ['123.456.789.100'],
rpcuser => 'oliver'
rpcpassword => 'youvegottopickapocketortwoboys',
rpcssl => true,
rpcsslcertificatechainfile => '/path/to/certificate.pem',
rpcsslprivatekeyfile => '/path/to/private.key',
}
The module only runs on Ubuntu at the moment, however I would greatly welcome any contributions and pull requests for other operating systems!
Cheers