Make sure we set selinux contexts on Redhat.
This commit is contained in:
parent
06f1727336
commit
3205359afe
1 changed files with 4 additions and 0 deletions
|
@ -73,6 +73,10 @@ RSpec.configure do |c|
|
|||
shell('/usr/sbin/locale-gen')
|
||||
shell('/usr/sbin/update-locale')
|
||||
end
|
||||
if fact('osfamily') == 'RedHat'
|
||||
shell('yum -y install policycoreutils-python')
|
||||
shell('semanage port -a -t postgresql_port_t -p tcp 5433')
|
||||
end
|
||||
on host, puppet('module','install','puppetlabs-stdlib'), { :acceptable_exit_codes => [0,1] }
|
||||
on host, puppet('module','install','puppetlabs-firewall'), { :acceptable_exit_codes => [0,1] }
|
||||
on host, puppet('module','install','puppetlabs-apt'), { :acceptable_exit_codes => [0,1] }
|
||||
|
|
Loading…
Reference in a new issue