Unverified Commit 6fd3a129 authored by Tim Smith's avatar Tim Smith Committed by GitHub

Merge pull request #148 from secmff/client_mode

Follow the attributes permissions
parents e34d3421 e8d02390
......@@ -53,9 +53,9 @@ else
remote_type = node['rsyslog']['use_relp'] ? 'relp' : 'remote'
template "#{node['rsyslog']['config_prefix']}/rsyslog.d/49-remote.conf" do
source "49-#{remote_type}.conf.erb"
owner 'root'
group 'root'
mode '0644'
owner node['rsyslog']['config_files']['owner']
group node['rsyslog']['config_files']['group']
mode node['rsyslog']['config_files']['mode']
variables(servers: rsyslog_servers)
notifies :run, 'execute[validate_config]'
notifies :restart, "service[#{node['rsyslog']['service_name']}]"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment