sous-chefs / selinux

Development repository for the selinux cookbook
https://supermarket.chef.io/cookbooks/selinux
Apache License 2.0
58 stars 70 forks source link

[COOK-759] Added LWRPs for configuring SELinux #1

Closed kynx closed 11 years ago

kynx commented 12 years ago

3 LWRPs for working with SELinux

selinux_bool - switch booleans on and off selinux_policy - builds and installs local policy from .te file selinux_restorecon - restores file contexts to single files or directories

See README.md for usage examples. Please note I've only tested these on CentOS6. CLA is submitted and awaiting approval.

jtimberman commented 12 years ago

Hi @mattkynaston,

I created a sub-task for the COOK-759 ticket, COOK-1675, for this feature as it qualifies as a sub-task of the general improvement ticket.

Thanks!

bflad commented 10 years ago

Please note that the selinux_bool LWRP that was a part of this PR was not included in the Chef 11.6 changes AFAIK. I'd love to see that revisited and can open another ticket if you'd like.