Ensure SELinux is permissive on Ceph OSDs
authorJiri Stransky <jistr@redhat.com>
Mon, 13 Jul 2015 17:11:54 +0000 (19:11 +0200)
committerJiri Stransky <jistr@redhat.com>
Mon, 13 Jul 2015 17:11:54 +0000 (19:11 +0200)
commit9ab0050e6ec6ace2deb7712d7fde7a12bc466b75
tree9c8323fece58f04eecc8f77fee5213c54c387251
parent0405a6b248a8328edc1ca050be7e33f436b29c77
Ensure SELinux is permissive on Ceph OSDs

Currently we build the overcloud image with selinux-permissive element
in CI. However, even in environments where selinux-permissive element is
not used, it should be ensured that SELinux is set to permissive mode on
nodes with Ceph OSD [1].

We have no nice way to manage SELinux status via Puppet at the moment,
so i'm resorting to execs, but with proper "onlyif" guards.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1241422

Change-Id: I31bd685ad4800261fd317eef759bcfd285f2ba80
puppet/hieradata/ceph.yaml
puppet/manifests/overcloud_cephstorage.pp
puppet/manifests/overcloud_controller.pp
puppet/manifests/overcloud_controller_pacemaker.pp