spec: bring back possibility to install ceph with custom repo

This can be seen as a regression for customers who were used to deploy
in offline environment with custom repositories.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1673254

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit c933645bf7)
pull/4094/head
Guillaume Abrioux 2019-06-07 10:16:16 +02:00
parent 0b653ee5b4
commit 62647e1935
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ pushd %{buildroot}%{_datarootdir}/ceph-ansible
rm -r infrastructure-playbooks/untested-by-ci rm -r infrastructure-playbooks/untested-by-ci
%if ! 0%{?fedora} && ! 0%{?centos} %if ! 0%{?fedora} && ! 0%{?centos}
# remove ability to install ceph community version # remove ability to install ceph community version
rm roles/ceph-common/tasks/installs/redhat_{community,custom,dev}_repository.yml rm roles/ceph-common/tasks/installs/redhat_{community,dev}_repository.yml
# Ship only the Red Hat Ceph Storage config (overwrite upstream settings) # Ship only the Red Hat Ceph Storage config (overwrite upstream settings)
cp group_vars/rhcs.yml.sample group_vars/all.yml.sample cp group_vars/rhcs.yml.sample group_vars/all.yml.sample
%endif %endif