aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/manifests/var/distros.pp
blob: 30d51f3d6a21ffc6a2c678f3d9e56b7e8449d29a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# $default_distro:
#   the name of the default distribution
# $distros:
#   a hash variable containing distributions informations indexed by
#   distribution name. Each distribution is itself an hash containing
#   the following infos:
#    {
#      # the 'cauldron' distribution
#      'cauldron' => {
#         # list of arch supported by 'cauldron'
#         'arch' => [ 'i586', 'x86_64' ],
#         'medias' => {
#            # the 'core' media
#            'core' => {
#               'repos' => {
#                 # the 'release' repo in the 'core' media
#                 'release' => {
#                    'media_types' => [ 'release' ],
#                    'noauto' => '1',
#                 },
#               },
#               # media_types for media.cfg
#               'media_types' => [ 'official', 'free' ],
#               # if noauto is set to '1' either in medias or repos,
#               # the option will be added to media.cfg
#               'noauto' => '1',
#            },
#         },
#         # the list of media used by iurt to build the chroots
#         'base_medias' => [ 'core/release' ],
#         # branch is Devel or Official. Used in media.cfg.
#         'branch' => 'Devel',
#         # Version of the distribution
#         'version' => '3',
#      },
#    }
class buildsystem::var::distros(
    $default_distro,
    $distros
) { }