Merge "Install openstack-selinux on RHEL"

This commit is contained in:
Jenkins 2014-10-03 12:44:46 +00:00 committed by Gerrit Code Review
commit 07f11be024

View File

@ -0,0 +1,10 @@
#!/bin/bash
# Install openstack-selinux if it is available
# dib-lint: disable=sete
set -ux
set -o pipefail
HAS_PACKAGE=$(yum list | grep openstack-selinux)
if [ -n "$HAS_PACKAGE" ]; then
install-packages openstack-selinux
fi