I've noticed that attributes in environments do not get applied if I use node.default in cookbooks (instead the cookbook attributes get applied). But, the attributes changed in environments get applied if I use node instead; why? I thought node and node.default are one and the same?
Node attribute precedence can be confusing. The document does help, once you read it a couple of times
https://docs.chef.io/attributes.html
My advice is as follows:
The objective here is consistency
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With