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': # yum-plugin-priorities is already managed by ::ceph::repo manage_priorities => false, manage_rdo => false, repo_hash => { 'mitaka-current' => { 'baseurl' => 'https://trunk.rdoproject.org/centos7/b4/77/b47704d4dee98cb031c06fed779f1e7c3e4c4dc8_d4d8381d/', 'descr' => 'Mitaka Current', 'gpgcheck' => 'no', 'priority' => 1, }, 'delorean-deps' => { 'baseurl' => 'http://buildlogs.centos.org/centos/7/cloud/$basearch/openstack-liberty/', 'descr' => 'Liberty delorean-deps', 'gpgcheck' => 'no', 'priority' => 2, }, } } } default: { fail("Unsupported osfamily (${::osfamily})") } } class { '::ceph::repo': } }