Set SELinux boolean values.
Introduced: v4.0.0
Action | Description |
---|---|
:set |
Set the state of the boolean |
Name | Type | Default | Description |
---|---|---|---|
boolean |
String | Resource name | SELinux boolean to set |
value |
true , false , 'on' , 'off' |
SELinux boolean value | |
persistent |
true , false |
true |
Set to true for value setting to survive reboot |
selinux_boolean 'ssh_keysign' do
value true
end
selinux_boolean 'staff_exec_content' do
value false
end
selinux_boolean 'ssh_sysadm_login' do
value 'on'
end
selinux_boolean 'squid_connect_any' do
value 'off'
end