Parent Directory | Revision Log
buildsystem: use common media.cfg template for all distros The media.cfg file is now generated for all distributions now (it was only done for cauldron before). The media.cfg file is generated using the infos about the distributions and medias from the $distro parameter in buildsystem::var::distros.
1 | define buildsystem::media_cfg($distro_name, $arch, $templatefile = 'buildsystem/media.cfg') { |
2 | include buildsystem::var::repository |
3 | include buildsystem::var::scheduler |
4 | include buildsystem::repository |
5 | |
6 | file { "${buildsystem::var::repository::bootstrap_reporoot}/${distro_name}/${arch}/media/media_info/media.cfg": |
7 | owner => $buildsystem::var::scheduler::login, |
8 | group => $buildsystem::var::scheduler::login, |
9 | content => template($templatefile), |
10 | } |
11 | } |
ViewVC Help | |
Powered by ViewVC 1.1.30 |