aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/media_cfg.pp
blob: 455d4d97e30d27da137b09eb6c317f9c21f25520 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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",
    }
}