aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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":