Commit cdff496d authored by Ronald Doorn's avatar Ronald Doorn
Browse files

keep the warning message, but only as log, don't exit

parent 56988138
......@@ -4,7 +4,7 @@ maintainer_email ''
license 'Apache 2.0'
description 'Installs and configures rsyslog'
long_description, ''))
version '2.1.2'
version '2.1.1'
recipe 'rsyslog', 'Installs rsyslog'
recipe 'rsyslog::client', 'Sets up a client to log to a remote rsyslog server'
......@@ -77,6 +77,8 @@ if !rsyslog_servers.empty?
notifies :restart, "service[#{node['rsyslog']['service_name']}]"
only_if { node['rsyslog']['remote_logs'] }
Chef::Log.warn('The rsyslog::client recipe was unable to determine the remote syslog server. Checked both the server_ip attribute and search! Not forwarding logs.')
file "#{node['rsyslog']['config_prefix']}/rsyslog.d/server.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