From b5e02d6fe88dd074f4c04f32dff9f39c43ef5208 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 5 Jun 2017 19:02:45 -0300 Subject: Changes for puppet 4 compatibility --- manifests/server.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'manifests/server.pp') diff --git a/manifests/server.pp b/manifests/server.pp index 3a8761e..873d2e5 100644 --- a/manifests/server.pp +++ b/manifests/server.pp @@ -15,7 +15,7 @@ class backupninja::server ( file { $backupdir: ensure => $backupdir_ensure, - mode => 0710, owner => root, group => "backupninjas", + mode => '0710', owner => root, group => "backupninjas", require => $backupdir_ensure ? { 'directory' => undef, default => File["$backupdir_ensure"], @@ -31,7 +31,7 @@ class backupninja::server ( file { "/usr/local/bin/checkbackups": ensure => "present", source => "puppet:///modules/backupninja/checkbackups.pl", - mode => 0755, owner => root, group => root, + mode => '0755', owner => root, group => root, } cron { checkbackups: -- cgit v1.2.3