diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-06-05 19:06:57 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-06-05 19:06:57 -0300 |
commit | 6b93d8593587cd4c16f777bcbc578638191bb589 (patch) | |
tree | ab240d4fd888927c088939bf6d827b739c948018 | |
parent | f9adcd3ec2fe1143a98c5fb06dee1402963ca123 (diff) | |
download | puppet-onion-6b93d8593587cd4c16f777bcbc578638191bb589.tar.gz puppet-onion-6b93d8593587cd4c16f777bcbc578638191bb589.tar.bz2 |
Changes for puppet 4 compatibility
-rw-r--r-- | manifests/init.pp | 2 | ||||
-rw-r--r-- | manifests/monitor.pp | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 14a4e27..d049178 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -8,6 +8,6 @@ class onion { ensure => directory, owner => 'debian-tor', group => 'debian-tor', - mode => 0700, + mode => '0700', } } diff --git a/manifests/monitor.pp b/manifests/monitor.pp index e47b2b6..c51aad8 100644 --- a/manifests/monitor.pp +++ b/manifests/monitor.pp @@ -13,21 +13,21 @@ class onion::monitor( ensure => directory, owner => root, group => root, - mode => 0750, + mode => '0750', } file { '/var/lib/tor/.arm': ensure => directory, owner => debian-tor, group => debian-tor, - mode => 0750, + mode => '0750', } file { '/root/.arm/armrc': ensure => present, owner => root, group => root, - mode => 0640, + mode => '0640', content => template('onion/armrc.erb'), require => File['/root/.arm'], } @@ -36,7 +36,7 @@ class onion::monitor( ensure => present, owner => debian-tor, group => debian-tor, - mode => 0640, + mode => '0640', content => template('onion/armrc.erb'), require => File['/var/lib/tor/.arm'], } |