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