sous-chefs / rsyslog

Development repository for the rsyslog cookbook
https://supermarket.chef.io/cookbooks/rsyslog
Apache License 2.0
65 stars 199 forks source link

Set SElinux security context on node['rsyslog']['log_dir'] #58

Closed tmiller2NREL closed 7 years ago

tmiller2NREL commented 10 years ago

Adding execute "chcon" do command "chcon system_u:object_r:var_log_t:s0 node['rsyslog']['log_dir']" action :run end

Right after creating the directory would be easiest.

tas50 commented 7 years ago

Chef natively support selinux now so this shouldn't be an issue.