Helper classes that utilize the core Puppet OpenStack modules
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.

33 lines
1.4 KiB

# This is an example of how to define your own repos in hiera
# in addition to RDO when using the redhat repo class
# assuming you have included the class somewhere
# This is taken from the aptira hiera data files in
# puppet_openstack_builder and may go out of date.
# Set up repositories using openstack_extras
'descr': 'CentOS-$releasever - Base'
'baseurl': "%{hiera('yum_base_mirror')}/$releasever/os/$basearch/"
'descr': 'CentOS-$releasever - Updates'
'baseurl': "%{hiera('yum_base_mirror')}/$releasever/updates/$basearch/"
'descr': 'CentOS-$releasever - Extras'
'baseurl': "%{hiera('yum_base_mirror')}/$releasever/extras/$basearch/"
'descr': 'Extra Packages for Enterprise Linux 6 - $basearch'
'baseurl': "%{hiera('yum_epel_mirror')}/$releasever/$basearch/"
'gpgkey': 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6'
'failovermethod': 'priority'
'proxy': "http://%{hiera('proxy_host')}:%{hiera('proxy_port')}"
'source': 'puppet:///modules/openstack_extras/RPM-GPG-KEY-EPEL-6'
openstack_extras::repo::redhat::redhat::purge_unmanaged: true
openstack_extras::repo::redhat::redhat::package_require: true