selinux_boolean
Set SELinux boolean values.
Introduced: v4.0.0
Actions
Action | Description |
---|---|
:set | Set the state of the boolean |
Properties
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 |
Examples
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