summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-05-07 20:56:11 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-05-07 20:56:11 -0300
commit02366e517f397fb0727f224090ec2592572a105d (patch)
tree61d5b844251543405289bb913475156423933f0d
parent44780356fa5f043acf40e15ed357c5d29c37cff5 (diff)
downloadpuppet-bitcoind-02366e517f397fb0727f224090ec2592572a105d.tar.gz
puppet-bitcoind-02366e517f397fb0727f224090ec2592572a105d.tar.bz2
Hiera 5 migrationHEADmaster
-rw-r--r--manifests/init.pp10
1 files changed, 5 insertions, 5 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 6a95f55..f957176 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -1,9 +1,9 @@
class bitcoind(
- $daemon_args = hiera('bitcoind::daemon_args', '-daemon'),
- $rpcuser = hiera('bitcoind::rpcuser', ''),
- $rpcpassword = hiera('bitcoind::rpcpassword', ''),
- $ensure = hiera('bitcoind::ensure', 'running'),
- $maxconnections = hiera('bitcoind::maxconnections', 25)
+ $daemon_args = lookup('bitcoind::daemon_args', undef, undef, '-daemon'),
+ $rpcuser = lookup('bitcoind::rpcuser', undef, undef, ''),
+ $rpcpassword = lookup('bitcoind::rpcpassword', undef, undef, ''),
+ $ensure = lookup('bitcoind::ensure', undef, undef, 'running'),
+ $maxconnections = lookup('bitcoind::maxconnections', undef, undef, 25)
) {
case $rpcuser {
'': { fail("You need to define etherpad database password! Please set bitcoind::rpcuser in your config") }