sous-chefs / rsyslog

Development repository for the rsyslog cookbook
https://supermarket.chef.io/cookbooks/rsyslog
Apache License 2.0
65 stars 199 forks source link

Skip search if ['rsyslog']['server_search'] is empty #141

Closed nvwls closed 6 years ago

nvwls commented 6 years ago

Signed-off-by: Joe Nuspl nuspl@nvwls.com

Description

Skip search if the search string is empty.

Issues Resolved

For environments that specify node['rsyslog']['server_ip'] instead of using search, you be able set node['rsyslog']['server_search'] to nil to not perform the search instead of having to specify a dummy search such as 'role:DOES_NOT_EXIST'

Check List