diff options
author | Michael Scherer <misc@mageia.org> | 2011-08-17 20:30:55 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-08-17 20:30:55 +0000 |
commit | 19d26d0c7a3090f0a2739bee30675fe1901b6414 (patch) | |
tree | 32e0e71ce697b760c3c5ce7db1435a11749278ca /modules/buildsystem/manifests | |
parent | 20e3bb8b732748c5d6d12cc7ee3282bfd6c54c04 (diff) | |
download | puppet-19d26d0c7a3090f0a2739bee30675fe1901b6414.tar puppet-19d26d0c7a3090f0a2739bee30675fe1901b6414.tar.gz puppet-19d26d0c7a3090f0a2739bee30675fe1901b6414.tar.bz2 puppet-19d26d0c7a3090f0a2739bee30675fe1901b6414.tar.xz puppet-19d26d0c7a3090f0a2739bee30675fe1901b6414.zip |
split the creation of directory, require the upper directory ( as testing show
the order is not garanted )
Diffstat (limited to 'modules/buildsystem/manifests')
-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, |