6470697839
Make default use rocky, just a preparation to so it's not forgotten when its released. We still pin version in p-o-i so we should be fine. Change-Id: Ie687a1386e09a2db86caab57cde938224f79777e
37 lines
1016 B
Puppet
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 = 'rocky'
|
|
|
|
$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')
|
|
}
|
|
}
|
|
}
|