Cookbooks
selinux
documentation
Selinux Boolean

Back to resource list

selinux_boolean

Set SELinux boolean values.

Introduced: v4.0.0

Actions

ActionDescription
:setSet the state of the boolean

Properties

NameTypeDefaultDescription
booleanStringResource nameSELinux boolean to set
valuetrue, false, 'on', 'off'SELinux boolean value
persistenttrue, falsetrueSet 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