diff options
Diffstat (limited to 'modules/buildsystem/manifests/init.pp')
-rw-r--r-- | modules/buildsystem/manifests/init.pp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/buildsystem/manifests/init.pp b/modules/buildsystem/manifests/init.pp index b17c12c2..0d5aace0 100644 --- a/modules/buildsystem/manifests/init.pp +++ b/modules/buildsystem/manifests/init.pp @@ -5,6 +5,7 @@ class buildsystem { $build_home_dir = "/home/$build_login" $sched_login = "schedbot" $sched_home_dir = "/var/lib/$sched_login" + $packages_archivedir = "$sched_home_dir/old" $sign_login = "signbot" $sign_home_dir = "/var/lib/$sign_login" $sign_keydir = "$sign_home_dir/keys" @@ -135,6 +136,12 @@ class buildsystem { content => template("buildsystem/repsys.conf") } + file { "$packages_archivedir": + ensure => "directory", + owner => $sched_login, + require => File[$sched_home_dir], + } + file { "$sched_home_dir/repsys": ensure => "directory", owner => $sched_login, |