Tobias Urdin 63e2294562 Update repos to Train
Make sure to change these early so that we don't
forget them when releasing next release.

We are overriding these in testing so they don't
cause any troubles.

Change-Id: Iade37928e9875019c6fbf89827abaab9ec7831b3
2019-03-26 19:30:56 +01:00

37 lines
1016 B
Puppet

# == Class: openstack_extras::repo::redhat::params
#
# This repo sets defaults for use with the redhat
# osfamily repo classes.
#
class openstack_extras::repo::redhat::params
{
$release = 'train'
$repo_defaults = { 'enabled' => '1',
'gpgcheck' => '1',
'notify' => 'Exec[yum_refresh]',
'mirrorlist' => 'absent',
'require' => 'Anchor[openstack_extras_redhat]',
}
$gpgkey_defaults = { 'owner' => 'root',
'group' => 'root',
'mode' => '0644',
'before' => 'Anchor[openstack_extras_redhat]',
}
case $::operatingsystem {
'centos', 'redhat', 'scientific', 'slc': {
$dist_full = 'epel-'
$dist_short = 'el'
}
'fedora': {
$dist_full = 'fedora-'
$dist_short = 'f'
}
default: {
warning('Unrecognised operatingsystem')
}
}
}