
In kilo, the RDO repository changed the end of its URL path from 'epel-7' to 'el7' for RedHat and CentOS and from 'fedora-#' to 'f#'. Judging by the liberty testing repository, this will continue to be the pattern for future releases. This patch adds logic to use the correct path for Kilo and future releases. It also updates the GPG key to use the correct one from the RDO-release repository[1]. [1] https://github.com/redhat-openstack/rdo-release/blob/master/RPM-GPG-KEY-RDO-kilo Change-Id: Ia309b78e81236dee95d2d741fece323929b35709
39 lines
1.0 KiB
Puppet
39 lines
1.0 KiB
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 = 'kilo'
|
|
|
|
$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')
|
|
}
|
|
}
|
|
|
|
$rdo_priority = 98
|
|
}
|