5 Commits

Author SHA1 Message Date
Tim Smith
2ffa7386b8 Update copyright headers
Signed-off-by: Tim Smith <tsmith@chef.io>
2016-11-25 11:41:14 -08:00
Tim Smith
4d071581fa Remove encoding
There's no need for this

Signed-off-by: Tim Smith <tsmith@chef.io>
2016-09-08 10:12:47 -07:00
Matthieu Vachon
3445567364 Using node.default_unless instead of node.default in _attributes
* Wrapper cookbook usually uses default level to override attributes
   of the wrapped cookbook. Here, we had a problem because if the
   wrapper cookbook was enabling sasl and was setting a relayhost
   and a user/password combination using the default level, this was
   not working because _attributes resets those attributes.

   To fix this, we now use node.default_unless which will set the
   attribute only if it's not already set ensuring that wrapper
   cookbook overriden attributes using default level are correctly
   kept when computing derived attributes.
2015-08-27 17:17:30 -04:00
drag00n
ea93c2b0a5 Fix several rubocop errors.
Deleted extra blank space, used 2 spaces instead of 3, use parens
instead of curly braces
2014-11-14 23:22:26 -05:00
Chase Bolt
d972e58fa4 moving conditional attributes to a recipe so they can be modified via other cookbook attributes 2014-09-09 11:11:30 -07:00