From 44780356fa5f043acf40e15ed357c5d29c37cff5 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 5 Jun 2017 19:05:42 -0300 Subject: Changes for puppet 4 compatibility --- manifests/init.pp | 8 ++++---- 1 file 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'], } -- cgit v1.2.3