]> gitweb.fluxo.info Git - puppet-bitcoind.git/commitdiff
Changes for puppet 4 compatibility
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 5 Jun 2017 22:05:42 +0000 (19:05 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 5 Jun 2017 22:05:42 +0000 (19:05 -0300)
manifests/init.pp

index 5139b1d36de15a3e7e7e14f7807aead1ec88235d..6a95f5587c4f6e41cc6d2aed4de5ae7a802d7fcf 100644 (file)
@@ -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'],
   }