Fix acceptance tests for EL
The return value of fact('selinux') is a stringified bool.
This commit is contained in:
parent
57448a98f3
commit
8053ea7232
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue