Fix acceptance tests for EL

The return value of fact('selinux') is a stringified bool.
This commit is contained in:
Morgan Haskel 2015-03-17 16:35:31 -07:00
parent 57448a98f3
commit 8053ea7232

View file

@ -4,7 +4,7 @@ require 'spec_helper_acceptance'
# location properly.
# Allow postgresql to use /tmp/* as a datadir
if fact('osfamily') == 'RedHat' and fact('selinux') == true
if fact('osfamily') == 'RedHat' and fact('selinux') == 'true'
shell 'setenforce 0'
end