aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/media_cfg.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/buildsystem/manifests/media_cfg.pp')
-rw-r--r--modules/buildsystem/manifests/media_cfg.pp6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/buildsystem/manifests/media_cfg.pp b/modules/buildsystem/manifests/media_cfg.pp
index 07d34118..455d4d97 100644
--- a/modules/buildsystem/manifests/media_cfg.pp
+++ b/modules/buildsystem/manifests/media_cfg.pp
@@ -1,11 +1,13 @@
define buildsystem::media_cfg() {
+ include buildsystem::scheduler::var
include buildsystem::repository
+
$arch = $name
+ $sched_login = $buildsystem::scheduler::var::login
+
file { "$buildsystem::repository::root/distrib/cauldron/$arch/media/media_info/media.cfg":
owner => $buildsystem::base::sched_login,
group => $buildsystem::base::sched_login,
source => "puppet:///modules/buildsystem/$arch/media.cfg",
}
}
-
-