File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 128
128
$package_name = $facts [' os' ][' release' ][' major' ] ? {
129
129
' 5' => ' policycoreutils' ,
130
130
' 6' => ' policycoreutils-python' ,
131
+ ' 7' => ' policycoreutils-python' ,
131
132
default => ' policycoreutils-python-utils' ,
132
133
}
133
134
}
Original file line number Diff line number Diff line change 28
28
end
29
29
30
30
it 'has SELinux port defined' do
31
- is_expected . to contain_package ( 'policycoreutils-python-utils ' ) . with ( ensure : 'present' )
31
+ is_expected . to contain_package ( 'policycoreutils-python' ) . with ( ensure : 'present' )
32
32
33
33
is_expected . to contain_exec ( '/usr/sbin/semanage port -a -t postgresql_port_t -p tcp 5432' )
34
34
. with ( unless : '/usr/sbin/semanage port -l | grep -qw 5432' )
35
35
. that_comes_before ( 'Postgresql::Server::Config_entry[port]' )
36
- . that_requires ( 'Package[policycoreutils-python-utils ]' )
36
+ . that_requires ( 'Package[policycoreutils-python]' )
37
37
end
38
38
39
39
it 'has the correct systemd-override file' do
You can’t perform that action at this time.
0 commit comments