aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-08-17 16:41:21 +0000
committerMichael Scherer <misc@mageia.org>2011-08-17 16:41:21 +0000
commit9793cd6ac8586ceebc2e0c65e246d81dbe83ca36 (patch)
tree2f20fbe16a9cc13cfeec78e3b3640a5f25b1fbe7 /modules/buildsystem
parentef42352d03eda95795791e369c0b17b4cd26f9ac (diff)
downloadpuppet-9793cd6ac8586ceebc2e0c65e246d81dbe83ca36.tar
puppet-9793cd6ac8586ceebc2e0c65e246d81dbe83ca36.tar.gz
puppet-9793cd6ac8586ceebc2e0c65e246d81dbe83ca36.tar.bz2
puppet-9793cd6ac8586ceebc2e0c65e246d81dbe83ca36.tar.xz
puppet-9793cd6ac8586ceebc2e0c65e246d81dbe83ca36.zip
fix missing directory creation
Diffstat (limited to 'modules/buildsystem')
-rw-r--r--modules/buildsystem/manifests/init.pp9
1 files changed, 5 insertions, 4 deletions
diff --git a/modules/buildsystem/manifests/init.pp b/modules/buildsystem/manifests/init.pp
index 77328717..58411a3d 100644
--- a/modules/buildsystem/manifests/init.pp
+++ b/modules/buildsystem/manifests/init.pp
@@ -49,7 +49,7 @@ class buildsystem {
}
$location = "/var/www/bs"
- file { $location:
+ file { ["$location","$location/data"]:
ensure => directory,
}
@@ -195,9 +195,10 @@ class buildsystem {
}
file { "$maintdb_dump":
- ensure => present,
- owner => $maintdb_login,
- mode => 644,
+ ensure => present,
+ owner => $maintdb_login,
+ mode => 644,
+ require => File["/var/www/bs/data"],
}
cron { "update maintdb export":