You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1019 B
36 lines
1019 B
# == 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 = 'victoria' |
|
|
|
$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') |
|
} |
|
} |
|
}
|
|
|