Fix selinux permissions for fedora tests
Signed-off-by: Ken Barber <ken@bob.sh>
This commit is contained in:
parent
a8f86f9df1
commit
5370fbeb10
1 changed files with 4 additions and 1 deletions
|
@ -18,13 +18,16 @@ describe 'common patterns:' do
|
|||
it "should support an 'include' directive at the end of postgresql.conf" do
|
||||
pending('no support for include directive with centos 5/postgresql 8.1',
|
||||
:if => (node.facts['osfamily'] == 'RedHat' and node.facts['lsbmajdistrelease'] == '5'))
|
||||
|
||||
pp = <<-EOS
|
||||
class { 'postgresql::server': }
|
||||
|
||||
$extras = "/tmp/include.conf"
|
||||
$extras = "/etc/postgresql-include.conf"
|
||||
|
||||
file { $extras:
|
||||
content => 'max_connections = 123',
|
||||
seltype => 'postgresql_db_t',
|
||||
seluser => 'system_u',
|
||||
notify => Class['postgresql::server::service'],
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue