zabbix icon indicating copy to clipboard operation
zabbix copied to clipboard

Use attribute instead of run_list to search

Open guilhem opened this issue 11 years ago • 1 comments

for the moment we are using "recipe" or "recipes" to search a node in run_list.

Good practice is to use attribute like said here: http://www.getchef.com/blog/2014/02/03/evolution-of-cookbook-development/

guilhem avatar Feb 09 '14 14:02 guilhem

An attribute for the search query would be ideal, yes. For example https://github.com/lusis/chef-logstash/blob/master/attributes/default.rb#L15 does it in a sane way - easy to just specify a role for the simple case, but allows you to customize the query if needed.

iandelahorne avatar Feb 09 '14 14:02 iandelahorne