summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-06-07 14:44:00 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-06-07 14:44:00 -0300
commit8ba82fa7dd6e24f29e129a216b0c82b2107dec38 (patch)
tree4717995eac86e0d938ea3e0faa245a28ae2ea1e8 /manifests
parent0534cb4e00d21df8b2f08cc976c4f4ab8c417088 (diff)
downloadpuppet-bitcoind-8ba82fa7dd6e24f29e129a216b0c82b2107dec38.tar.gz
puppet-bitcoind-8ba82fa7dd6e24f29e129a216b0c82b2107dec38.tar.bz2
Adding maxconnections parameter
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp7
1 files changed, 4 insertions, 3 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 04ff701..549e9ce 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -1,7 +1,8 @@
class bitcoind(
- $daemon_args = hiera('bitcoind::daemon_args', '-daemon'),
- $rpcpassword = hiera('bitcoind::rpcpassword', ''),
- $ensure = hiera('bitcoind::ensure', 'running')
+ $daemon_args = hiera('bitcoind::daemon_args', '-daemon'),
+ $rpcpassword = hiera('bitcoind::rpcpassword', ''),
+ $ensure = hiera('bitcoind::ensure', 'running'),
+ $maxconnections = hiera('bitcoind::maxconnections', 25)
) {
case $rpcpassword {
'': { fail("You need to define etherpad database password! Please set bitcoind::rpcpassword in your config") }