]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
rpm: better comments for file removals 1863/head
authorKen Dreyer <kdreyer@redhat.com>
Wed, 6 Sep 2017 17:12:54 +0000 (11:12 -0600)
committerKen Dreyer <kdreyer@redhat.com>
Wed, 6 Sep 2017 17:14:35 +0000 (11:14 -0600)
As of 54d7a81241eac26d87e2bee513df5efd8866a586, we're doing more than
stripping CoreOS files in the RPM now. Move the comments around to
better match the code that does what the comments describe.

The purpose of this change is to make it easier to read this part of the
RPM spec file.

ceph-ansible.spec.in

index 53c694012366f21964a62a9956d23db047401b51..ea10d1d436e8f769a661522da975678f47422b9b 100644 (file)
@@ -36,12 +36,13 @@ for f in ansible.cfg *.yml *.sample group_vars roles library plugins infrastruct
   cp -a $f %{buildroot}%{_datarootdir}/ceph-ansible
 done
 
-# Strip coreos files.
-# These are unneeded on RPM-based distros, and the playbooks download random
-# things from around the internet.
 pushd %{buildroot}%{_datarootdir}/ceph-ansible
+  # Strip coreos files.
+  # These are unneeded on RPM-based distros, and the playbooks download random
+  # things from around the internet.
   rm -r roles/ceph-common-coreos
   rm group_vars/common-coreoss.yml.sample
+  # These untested playbooks are too unstable for users.
   rm -r infrastructure-playbooks/untested-by-ci
 popd