HYD-5374 SELinux commands on EL7 manager
HYD-5374 SELinux commands on EL7 manager

Tests running on EL7 in Jenkins fail manager install (spec file post
section) due to SELinux shell commands returning errors when SELinux
is disabled.  This doesn't occur when testing on Lotus because
provisioned dev systems seem to have SELinux enabled.

  - check if SELinux is enabled before issuing relevant commands

Change-Id: Ibe73aa774204ee0446f3811efcd618f33377f78a
Signed-off-by: Tom Nabarro <27c585386b86ec0acfeeb448326cb9c60162db51@intel.com>
Reviewed-on: http://review.whamcloud.com/18185
Tested-by: Jenkins
Tested-by: Chroma Test User <a0b98b2ff5154776fa24760ef410655af7a8b56c@intel.com>
Reviewed-by: Abiola Saraki <e374f88a50d2c210abe04dd90cffd0422b7fbd05@intel.com>
Reviewed-by: Chris Gearing <149a3c4298d99c315fc555357d57d2940923ba5f@intel.com>

intel-hpdd/intel-manager-for-lustre,intel-hpdd/intel-manager-for-lustre,intel-hpdd/intel-manager-for-lustre