aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-01-25 22:20:36 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-01-25 22:20:36 -0200
commit20afe88965b30d2652f57e02c5dec75b61e7c036 (patch)
treec3c00bccf68702886df8ca23f86df7160f87502f
parentcd41191d9c26f60b89a8622fd8999ae18eb2d2ff (diff)
downloadpuppet-ikiwiki-20afe88965b30d2652f57e02c5dec75b61e7c036.tar.gz
puppet-ikiwiki-20afe88965b30d2652f57e02c5dec75b61e7c036.tar.bz2
Renaming template
-rw-r--r--manifests/init.pp4
-rw-r--r--templates/refresh.sh.erb (renamed from templates/update.sh.erb)0
2 files changed, 2 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 0896dbf..a61c4a4 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -55,8 +55,8 @@ class ikiwiki {
}
exec { "/usr/local/sbin/ikiwiki-deploy $name $instance":
- unless => "/bin/sh -c '[ -f ${apache_sites_folder}/${name}/${instance}_src/index.mdwn ]'",
- user => root,
+ unless => "/bin/sh -c '[ -f ${apache_sites_folder}/${name}/${instance}_src/index.mdwn ]'",
+ user => root,
}
if !defined(File["${apache_sites_folder}/${name}/${instance}_src"]) {
diff --git a/templates/update.sh.erb b/templates/refresh.sh.erb
index e158f58..e158f58 100644
--- a/templates/update.sh.erb
+++ b/templates/refresh.sh.erb