Commit bfcec7d3 authored by jtimberman's avatar jtimberman
Browse files

cook-106, search for rsyslog_server:true

parent 96474d48
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
include_recipe "rsyslog" include_recipe "rsyslog"
rsyslog_server = node[:rsyslog][:server] ? node[:rsyslog][:server] : search(:node, "recipe:rsyslog::server").map { |n| n["fqdn"] } rsyslog_server = node[:rsyslog][:server] ? node[:rsyslog][:server] : search(:node, "rsyslog_server:true").map { |n| n["fqdn"] }
template "/etc/rsyslog.d/remote.conf" do template "/etc/rsyslog.d/remote.conf" do
source "remote.conf.erb" source "remote.conf.erb"
......
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