diff options
-rw-r--r-- | manifests/instance.pp | 16 |
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}"]) { |