aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/mga_buildsystem/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/mga_buildsystem/manifests')
-rw-r--r--deployment/mga_buildsystem/manifests/config.pp44
1 files changed, 38 insertions, 6 deletions
diff --git a/deployment/mga_buildsystem/manifests/config.pp b/deployment/mga_buildsystem/manifests/config.pp
index 66e64ac0..ffb14ec3 100644
--- a/deployment/mga_buildsystem/manifests/config.pp
+++ b/deployment/mga_buildsystem/manifests/config.pp
@@ -21,29 +21,51 @@ class mga_buildsystem::config {
$std_arch = ['i586', 'x86_64']
$std_repos = {
- 'release' => {},
- 'updates_testing' => {},
- 'backports_testing' => {},
- 'backports' => {},
- 'updates' => {},
+ 'release' => {
+ 'media_types' => [ 'release' ],
+ },
+ 'updates_testing' => {
+ 'media_types' => [ 'testing' ],
+ 'noauto' => '1',
+ },
+ 'backports_testing' => {
+ 'media_types' => [ 'testing' ],
+ 'noauto' => '1',
+ },
+ 'backports' => {
+ 'media_types' => [ 'backports' ],
+ 'noauto' => '1',
+ },
+ 'updates' => {
+ 'media_types' => [ 'updates' ],
+ 'updates_for' => 'release',
+ },
}
$std_medias = {
'core' => {
'repos' => $std_repos,
+ 'media_types' => [ 'official', 'free' ],
},
'nonfree' => {
'repos' => $std_repos,
+ 'media_types' => [ 'official' ],
+ 'noauto' => '1',
},
'tainted' => {
'repos' => $std_repos,
+ 'media_types' => [ 'official' ],
+ 'noauto' => '1',
},
}
$std_base_media = [ 'core/release', 'core/updates' ]
$infra_medias = {
'infra' => {
'repos' => {
- 'release' => {},
+ 'release' => {
+ 'media_types' => [ 'release' ],
+ },
},
+ 'media_types' => [ 'infra' ],
},
}
class { 'buildsystem::var::distros':
@@ -52,30 +74,40 @@ class mga_buildsystem::config {
'arch' => $std_arch,
'medias' => $std_medias,
'base_media' => $std_base_media,
+ 'branch' => 'Devel',
+ 'version' => '3',
},
'1' => {
'arch' => $std_arch,
'medias' => $std_medias,
'base_media' => $std_base_media,
+ 'branch' => 'Official',
+ 'version' => '1',
},
'2' => {
'arch' => $std_arch,
'medias' => $std_medias,
'base_media' => $std_base_media,
+ 'branch' => 'Official',
+ 'version' => '2',
},
'infra_1' => {
'arch' => $std_arch,
'medias' => $infra_medias,
'base_media' => $std_base_media,
+ 'branch' => 'Official',
+ 'version' => '1',
},
'infra_2' => {
'arch' => $std_arch,
'medias' => $infra_medias,
'base_media' => $std_base_media,
+ 'branch' => 'Official',
+ 'version' => '2',
},
}
}