diff --git a/manifests/ceph.pp b/manifests/ceph.pp index e30f344a4..e040ba662 100644 --- a/manifests/ceph.pp +++ b/manifests/ceph.pp @@ -10,6 +10,7 @@ class openstack_integration::ceph { class { '::ceph::profile::params': fsid => '7200aea0-2ddd-4a32-aa2a-d49f66ab554c', + manage_repo => false, # repo already managed in openstack_integration::repo ms_bind_ipv6 => $ms_bind_ipv6, authentication_type => 'cephx', mon_host => $::openstack_integration::config::ip_for_url, diff --git a/manifests/repos.pp b/manifests/repos.pp index 8f5af4828..f55be06ba 100644 --- a/manifests/repos.pp +++ b/manifests/repos.pp @@ -18,11 +18,9 @@ class openstack_integration::repos { } 'RedHat': { class { '::openstack_extras::repo::redhat::redhat': - # yum-plugin-priorities is already managed by ::ceph::repo - manage_priorities => false, - manage_rdo => false, - manage_epel => false, - repo_hash => { + manage_rdo => false, + manage_epel => false, + repo_hash => { 'mitaka-current' => { 'baseurl' => 'https://trunk.rdoproject.org/centos7-mitaka/1c/82/1c829f367c2e67aa3a127342c59e0022266109c7_0e55db37/', 'descr' => 'Mitaka current', @@ -43,6 +41,19 @@ class openstack_integration::repos { } } - class { '::ceph::repo': } + # 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, + } }