Commit 50e006e0 authored by Jeff Blaine's avatar Jeff Blaine Committed by jtimberman
Browse files

Fixed 'owner' refs to be 'user' (oversight)

parent d431a973
......@@ -37,7 +37,7 @@ elsif !node['rsyslog']['server']
:server => rsyslog_server,
:protocol => node['rsyslog']['protocol']
)
owner node["rsyslog"]["owner"]
owner node["rsyslog"]["user"]
owner node["rsyslog"]["group"]
mode 0644
notifies :restart, "service[#{node['rsyslog']['service_name']}]"
......
......@@ -23,13 +23,13 @@ end
cookbook_file "#{node["rsyslog"]["defaults_file"]}" do
source "rsyslog.default"
owner node['rsyslog']['owner']
owner node['rsyslog']['user']
group node['rsyslog']['group']
mode 0644
end
directory "/etc/rsyslog.d" do
owner node['rsyslog']['owner']
owner node['rsyslog']['user']
group node['rsyslog']['group']
mode 0755
end
......@@ -44,7 +44,7 @@ end
# include of things in /etc/rsyslog.d/*
template "/etc/rsyslog.conf" do
source 'rsyslog.conf.erb'
owner node['rsyslog']['owner']
owner node['rsyslog']['user']
group node['rsyslog']['group']
mode 0644
variables(:protocol => node['rsyslog']['protocol'])
......@@ -54,7 +54,7 @@ end
template "/etc/rsyslog.d/50-default.conf" do
source "50-default.conf.erb"
backup false
owner node['rsyslog']['owner']
owner node['rsyslog']['user']
group node['rsyslog']['group']
mode 0644
notifies :restart, "service[#{node['rsyslog']['service_name']}]"
......
......@@ -23,7 +23,7 @@ node.set['rsyslog']['server'] = true
node.save unless Chef::Config[:solo]
directory ::File.dirname(node['rsyslog']['log_dir']) do
owner node["rsyslog"]["owner"]
owner node["rsyslog"]["user"]
owner node["rsyslog"]["group"]
recursive true
mode 0755
......@@ -42,7 +42,7 @@ template "/etc/rsyslog.d/35-server-per-host.conf" do
:log_dir => node['rsyslog']['log_dir'],
:per_host_dir => node['rsyslog']['per_host_dir']
)
owner node["rsyslog"]["owner"]
owner node["rsyslog"]["user"]
owner node["rsyslog"]["group"]
mode 0644
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