Commit 1ea96bdc authored by Matt Ray's avatar Matt Ray Committed by jtimberman
Browse files

this was a raise previously, which ended the run. Throwing a proper...

this was a raise previously, which ended the run. Throwing a proper Chef::Application.fatal! instead
parent ec82dd0c
......@@ -26,7 +26,7 @@ elsif !node['rsyslog']['server']
search(:node, node['rsyslog']['server_search']).first['ipaddress'] rescue nil
if rsyslog_server.nil?
Chef::Log.fatal("The rsyslog::client recipe was unable to determine the remote syslog server. Checked both the server_ip attribute and search()")
Chef::Application.fatal!("The rsyslog::client recipe was unable to determine the remote syslog server. Checked both the server_ip attribute and search()")
end
template "/etc/rsyslog.d/49-remote.conf" do
......
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