aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-04-11 18:55:51 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-04-11 18:55:51 -0300
commit1458f745c9c777115ac6070b8f0a688b0c3646c4 (patch)
tree8fe905fa0332e4f41ec248fae3ed267b25ec1b89
parentee78671149ef060f773a2e46acc74d7634d7a262 (diff)
downloadpuppet-ikiwiki-1458f745c9c777115ac6070b8f0a688b0c3646c4.tar.gz
puppet-ikiwiki-1458f745c9c777115ac6070b8f0a688b0c3646c4.tar.bz2
Minor cleanup
-rw-r--r--manifests/instance.pp16
1 files changed, 7 insertions, 9 deletions
diff --git a/manifests/instance.pp b/manifests/instance.pp
index 5dee2fd..7b72cd4 100644
--- a/manifests/instance.pp
+++ b/manifests/instance.pp
@@ -47,15 +47,13 @@ define ikiwiki::instance(
require => File["${home}/.ssh"],
}
- if !defined(File["${ikiwiki::sites_folder}/${name}/${instance}_src"]) {
- file { "${ikiwiki::sites_folder}/${name}/${instance}_src":
- ensure => directory,
- owner => $owner,
- group => $group,
- recurse => true,
- notify => Exec["ikiwiki_refresh_${name}"],
- require => File["${ikiwiki::sites_folder}/${name}"],
- }
+ file { "${ikiwiki::sites_folder}/${name}/${instance}_src":
+ ensure => directory,
+ owner => $owner,
+ group => $group,
+ recurse => true,
+ notify => Exec["ikiwiki_refresh_${name}"],
+ require => File["${ikiwiki::sites_folder}/${name}"],
}
if !defined(File["${ikiwiki::sites_folder}/${name}/${instance}"]) {