diff options
-rw-r--r-- | modules/buildsystem/manifests/init.pp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/buildsystem/manifests/init.pp b/modules/buildsystem/manifests/init.pp index 58411a3d..874b0d7f 100644 --- a/modules/buildsystem/manifests/init.pp +++ b/modules/buildsystem/manifests/init.pp @@ -49,10 +49,15 @@ class buildsystem { } $location = "/var/www/bs" - file { ["$location","$location/data"]: + file { "$location": ensure => directory, } + file { "$location/data": + ensure => directory, + require => File[$location], + } + apache::vhost_base { "pkgsubmit.$domain": aliases => { "/uploads" => "$sched_home_dir/uploads" }, location => $location, |