aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-06-05 19:07:16 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-06-05 19:07:16 -0300
commit72baca579469b8a5cdeb70f873e5c9ca2668c52d (patch)
treeabc1af4da4ee5e1741080fdd3bf272cb142bdb99
parent596ddb6d6cbdc6cd01f1a5999b1d720fd3900dca (diff)
downloadpuppet-pyroscope-72baca579469b8a5cdeb70f873e5c9ca2668c52d.tar.gz
puppet-pyroscope-72baca579469b8a5cdeb70f873e5c9ca2668c52d.tar.bz2
Changes for puppet 4 compatibility
-rw-r--r--manifests/init.pp26
1 files changed, 13 insertions, 13 deletions
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"],
}