aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-06-05 19:06:20 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-06-05 19:06:20 -0300
commit97b2bc3252882c5db20a40692a50c0da5d98ed78 (patch)
treec5112053a1a00dc4acc6d35476368e6c6796cf24 /manifests
parent71022836ebc27767e9edc75a1d323523bdd779f3 (diff)
downloadpuppet-ikiwiki-97b2bc3252882c5db20a40692a50c0da5d98ed78.tar.gz
puppet-ikiwiki-97b2bc3252882c5db20a40692a50c0da5d98ed78.tar.bz2
Changes for puppet 4 compatibility
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp4
-rw-r--r--manifests/instance.pp8
2 files changed, 6 insertions, 6 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 518d795..a2de89c 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -11,7 +11,7 @@ class ikiwiki(
content => template('ikiwiki/deploy.sh.erb'),
owner => root,
group => root,
- mode => 755,
+ mode => '755',
}
file { "/usr/local/sbin/ikiwiki-refresh":
@@ -19,6 +19,6 @@ class ikiwiki(
content => template('ikiwiki/refresh.sh.erb'),
owner => root,
group => root,
- mode => 755,
+ mode => '755',
}
}
diff --git a/manifests/instance.pp b/manifests/instance.pp
index c8faf99..50b3dda 100644
--- a/manifests/instance.pp
+++ b/manifests/instance.pp
@@ -22,7 +22,7 @@ define ikiwiki::instance(
content => template('ikiwiki/ikiwiki.setup.erb'),
owner => root,
group => $group,
- mode => 640,
+ mode => '640',
notify => Exec["ikiwiki_refresh_${name}"],
}
@@ -37,7 +37,7 @@ define ikiwiki::instance(
ensure => directory,
owner => root,
group => root,
- mode => 0755,
+ mode => '0755',
}
}
@@ -64,7 +64,7 @@ define ikiwiki::instance(
ensure => present,
owner => $owner,
group => $ikiwiki::git_implementation,
- mode => 6550,
+ mode => '6550',
require => File["/etc/ikiwiki/$name.setup",
"${ikiwiki::sites_folder}/${name}/ikiwiki",
"${ikiwiki::sites_folder}/${name}/ikiwiki_src"],
@@ -74,7 +74,7 @@ define ikiwiki::instance(
ensure => present,
owner => $owner,
group => $ikiwiki::www_user,
- mode => 6550,
+ mode => '6550',
require => File["/etc/ikiwiki/$name.setup",
"${ikiwiki::sites_folder}/${name}/ikiwiki",
"${ikiwiki::sites_folder}/${name}/ikiwiki_src"],