class openstack_integration::repos { case $::osfamily { 'Debian': { include ::apt class { '::openstack_extras::repo::debian::ubuntu': repo => 'proposed', release => 'mitaka', # drop this line when mitaka is stable released package_require => true, } # Ceph is both packaged on UCA & ceph.com # Official packages are on ceph.com so we want to make sure # Ceph will be installed from there. apt::pin { 'ceph': priority => 1001, origin => 'download.ceph.com', } } 'RedHat': { class { '::openstack_extras::repo::redhat::redhat': manage_rdo => false, manage_epel => false, repo_hash => { 'mitaka-current' => { 'baseurl' => 'https://trunk.rdoproject.org/centos7-mitaka/25/aa/25aae034738eda7c00fb3745aa85b96c6768c0f8_8ba4c30b/', 'descr' => 'Mitaka current', 'gpgcheck' => 'no', 'priority' => 1, }, 'delorean-deps' => { 'baseurl' => 'http://buildlogs.centos.org/centos/7/cloud/$basearch/openstack-mitaka/', 'descr' => 'Mitaka delorean-deps', 'gpgcheck' => 'no', 'priority' => 2, }, } } } default: { fail("Unsupported osfamily (${::osfamily})") } } # On CentOS, deploy Ceph using SIG repository and get rid of EPEL. # https://wiki.centos.org/SpecialInterestGroup/Storage/ if $::operatingsystem == 'CentOS' { $enable_sig = true $enable_epel = false } else { $enable_sig = false $enable_epel = true } class { '::ceph::repo': enable_sig => $enable_sig, enable_epel => $enable_epel, } }