diff options
-rw-r--r-- | manifests/init.pp | 4 | ||||
-rw-r--r-- | manifests/instance.pp | 8 |
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"], |