From 4b39b34d6dae4f99e5d72173ab808eda5c6571cb Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 5 Jun 2017 19:06:26 -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 fab766d..b62d9a4 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -32,7 +32,7 @@ class infinoted( ensure => directory, owner => 'infinoted', group => 'infinoted', - mode => 0750, + mode => '0750', require => User['infinoted'], } @@ -42,7 +42,7 @@ class infinoted( ensure => directory, owner => 'infinoted', group => 'infinoted', - mode => 0750, + mode => '0750', require => File['/var/lib/infinoted'], } @@ -50,7 +50,7 @@ class infinoted( ensure => present, owner => 'infinoted', group => 'infinoted', - mode => 0640, + mode => '0640', content => template('infinoted/infinoted.conf.erb'), require => File['/var/lib/infinoted/.config'], } @@ -73,7 +73,7 @@ class infinoted( ensure => present, owner => root, group => root, - mode => 0644, + mode => '0644', source => 'puppet:///modules/infinoted/infinoted.service', notify => Service['avahi-daemon'], } -- cgit v1.2.3