- Overview - What is the puppet-bitcoind module?
- Module Description - What does the module do?
- Setup - The basics of getting started with puppet-bitcoind
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
This Puppet module installs and configures the bitcoind
daemon, and can optionally install the bitcoin-qt
GUI - though this will disable the service/daemon.
Please note that the master branch of this module does not support Puppet 3!
On 31st December 2016, support for Puppet 3.x was withdrawn. As such, this module no longer supports Puppet 3, and is actively being migrated to Puppet 4 syntax.
If you require Puppet 3 compatibility, please use version 2.0.2 from the Puppet Forge, or the puppet3 branch in Git.
This module can handle the installation of the Bitcoin daemon from any Ubuntu PPA repository. To use a third-party repository (e.g. Bitcoin Classic or UASF), simply set the ppa_name
and package_name
parameters - the default is to install Bitcoin Core from the official PPA.
- Adds the requested PPA (see above) and installs
bitcoind
- Creates a (configurable) system user and group
- Places an Upstart init script (Systemd in Ubuntu 16.04 and later)
- Configures the
bitcoin.conf
configuration file - Enables and starts the
bitcoind
daemon/service
To accept default class parameters (correct in most situations):
include bitcoind
To use the an alternative Ubuntu PPA repository, specify an RPC user/password and disable wallet functionality:
class { 'bitcoind':
disablewallet => true,
rpcallowip => ['123.456.789.100'],
rpcuser => 'oliver'
rpcpassword => 'youvegottopickapocketortwo',
ppa_name => 'luke-jr/bitcoin-core-bip148-unofficial-builds',
package_name => 'bitcoin',
}
- For detailed explanations of the parameters used to configure the
bitcoind
daemon, see here: https://en.bitcoin.it/wiki/Running_bitcoind
- Creates the system user which runs the
bitcoind
service, and also a group for the user to belong to.
- Places the
bitcoin.conf
configuration file and init script
- Optionally adds the requested PPA to the system
- Installs the bitcoind package
- Optionally installs the bitcoin-qt package
- Disables server if install_gui passed to the module
- Ubuntu - 16.06 (Xenial), 14.04 (Trusty) and 12.04 LTS (Precise)
Donations are welcomed via Bitcoin to 1JJ5STJpzyDbvNiStqsfycCuoNFPgWd2Ho
- Copyright (C) Craig Watson - craig@cwatson.org
- Distributed under the terms of the Apache License v2.0 - see LICENSE file for details.
- Further contributions and testing reports are extremely welcome - please submit a pull request or issue on GitHub