- From: "Benzinger, Dennis" <
>
- To: "
" <
>
- Subject: [chef] Cookbook Attributes Best Practices/Guidelines ?
- Date: Fri, 24 Jul 2015 11:02:03 +0000
- Accept-language: en-US
Hello List,
what are some good websites or presentations about best practices/guidelines
for attributes in cookbooks?
For example about:
- Naming of the attribute files
- Naming of the attributes themselves
- Arrays vs. hashes
- And especially interesting for me:
When to use node.run_state instead of an attribute?
I've seen cookbooks which put every variable in an attribute even if it is
used
only internally. Wouldn't it be better to use node.run_state in this case?
At
least as long as you don't have to store it between Chef runs.
Thanks,
Dennis Benzinger | hybris
--
Dennis Benzinger
IT Architecture Senior Specialist
hybris Cloud Services
hybris GmbH
Nymphenburger Straße 86
80636 München, Germany
Fax +49 89 890 65 555
www.hybris.com
hybris GmbH, Nymphenburger Str. 86, 80636 München, Deutschland.
Geschäftsführer: Ariel F. Lüdi, Carsten Thoma, Michael Zips.
Amtsgericht München, HRB 124384.
- [chef] Cookbook Attributes Best Practices/Guidelines ?, Benzinger, Dennis, 07/24/2015
Archive powered by MHonArc 2.6.16.