summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-06-05 19:05:42 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-06-05 19:05:42 -0300
commit44780356fa5f043acf40e15ed357c5d29c37cff5 (patch)
treeab6ed7e8cf82057a5d125413db719dec19976097
parent32afd174079e33b85f3439bb02b7dcea2efad9b3 (diff)
downloadpuppet-bitcoind-44780356fa5f043acf40e15ed357c5d29c37cff5.tar.gz
puppet-bitcoind-44780356fa5f043acf40e15ed357c5d29c37cff5.tar.bz2
Changes for puppet 4 compatibility
-rw-r--r--manifests/init.pp8
1 files changed, 4 insertions, 4 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 5139b1d..6a95f55 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -35,7 +35,7 @@ class bitcoind(
ensure => directory,
owner => 'bitcoin',
group => 'bitcoin',
- mode => 0750,
+ mode => '0750',
require => User['bitcoin'],
}
@@ -43,7 +43,7 @@ class bitcoind(
ensure => directory,
owner => 'bitcoin',
group => 'bitcoin',
- mode => 0750,
+ mode => '0750',
require => File['/var/lib/bitcoin'],
}
@@ -51,7 +51,7 @@ class bitcoind(
ensure => present,
owner => 'bitcoin',
group => 'bitcoin',
- mode => 0600,
+ mode => '0600',
content => template('bitcoind/bitcoin.conf.erb'),
require => File['/var/lib/bitcoin/.bitcoin'],
notify => Service['bitcoind'],
@@ -61,7 +61,7 @@ class bitcoind(
ensure => present,
owner => root,
group => root,
- mode => 0755,
+ mode => '0755',
content => template('bitcoind/bitcoind-init.d.sh.erb'),
notify => Service['bitcoind'],
}