From 72baca579469b8a5cdeb70f873e5c9ca2668c52d Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 5 Jun 2017 19:07:16 -0300 Subject: Changes for puppet 4 compatibility --- manifests/init.pp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'manifests') diff --git a/manifests/init.pp b/manifests/init.pp index 232a20d..efb74f3 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -20,7 +20,7 @@ class pyroscope( ensure => directory, owner => torrent, group => torrent, - mode => 0775, + mode => '0775', require => [ File['/var/cache/media'], User['torrent'] ], } @@ -28,7 +28,7 @@ class pyroscope( ensure => present, owner => torrent, group => torrent, - mode => 0644, + mode => '0644', source => 'puppet:///modules/pyroscope/profile.sh', require => User['torrent'], } @@ -37,7 +37,7 @@ class pyroscope( ensure => present, owner => torrent, group => torrent, - mode => 0644, + mode => '0644', source => 'puppet:///modules/pyroscope/bashrc.sh', require => User['torrent'], } @@ -46,7 +46,7 @@ class pyroscope( ensure => directory, owner => torrent, group => torrent, - mode => 0755, + mode => '0755', require => User['torrent'], } @@ -68,7 +68,7 @@ class pyroscope( ensure => directory, owner => torrent, group => torrent, - mode => 0755, + mode => '0755', require => File["${homedir}/rtorrent"], } @@ -76,7 +76,7 @@ class pyroscope( ensure => present, owner => torrent, group => torrent, - mode => 0644, + mode => '0644', source => [ 'puppet:///modules/site_pyroscope/rtorrent.rc', 'puppet:///modules/pyroscope/rtorrent.rc', ], require => File["${homedir}/rtorrent"], @@ -93,7 +93,7 @@ class pyroscope( ensure => present, owner => torrent, group => torrent, - mode => 0755, + mode => '0755', source => 'puppet:///modules/pyroscope/start.sh', require => File["${homedir}/rtorrent"], } @@ -102,7 +102,7 @@ class pyroscope( ensure => directory, owner => torrent, group => torrent, - mode => 0755, + mode => '0755', require => User['torrent'], } @@ -110,7 +110,7 @@ class pyroscope( ensure => directory, owner => torrent, group => torrent, - mode => 0755, + mode => '0755', require => File["${homedir}/.pyroscope"], } @@ -118,7 +118,7 @@ class pyroscope( ensure => present, owner => torrent, group => torrent, - mode => 0644, + mode => '0644', require => File["${homedir}/.pyroscope/run"], } @@ -126,7 +126,7 @@ class pyroscope( ensure => present, owner => torrent, group => torrent, - mode => 0644, + mode => '0644', source => 'puppet:///modules/pyroscope/torque.ini', require => File["${homedir}/.pyroscope"], } @@ -135,7 +135,7 @@ class pyroscope( ensure => directory, owner => torrent, group => torrent, - mode => 0755, + mode => '0755', require => User['torrent'], } @@ -143,7 +143,7 @@ class pyroscope( ensure => present, owner => torrent, group => torrent, - mode => 0755, + mode => '0755', source => 'puppet:///modules/pyroscope/rtcron.sh', require => File["${homedir}/bin"], } -- cgit v1.2.3