aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/media_cfg.pp
blob: 413aa71fe5a22f12e333c7f1dde28cffa8060aa4 (plain)
1
2
3
4
5
6
7
8
9
10
11
define buildsystem::media_cfg($distro, $arch, $templatefile = 'buildsystem/media.cfg') {
    include buildsystem::var::repository
    include buildsystem::var::scheduler
    include buildsystem::repository
    
    file { "${buildsystem::var::repository::bootstrap_reporoot}/${distro}/${arch}/media/media_info/media.cfg":
        owner  => $buildsystem::var::scheduler::login,
        group  => $buildsystem::var::scheduler::login,
	content => template($templatefile),
    }
}