Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use attribute instead of run_list to search #141

Open
guilhem opened this issue Feb 9, 2014 · 1 comment
Open

Use attribute instead of run_list to search #141

guilhem opened this issue Feb 9, 2014 · 1 comment
Assignees
Milestone

Comments

@guilhem
Copy link
Collaborator

guilhem commented Feb 9, 2014

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/

@iandelahorne
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants