From 6b93d8593587cd4c16f777bcbc578638191bb589 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 5 Jun 2017 19:06:57 -0300 Subject: Changes for puppet 4 compatibility --- manifests/init.pp | 2 +- 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'], } -- cgit v1.2.3