Make sure we set selinux contexts on Redhat.

This commit is contained in:
Ashley Penney 2014-05-08 16:49:25 -04:00
parent 06f1727336
commit 3205359afe

View file

@ -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] }