I have an attribute default set in a cookbook attributes file:
which I'm attempting to override in a role:
I then apply that role to a node:
However, the node is picking up the cookbook-default, "localhost", rather than the value specified in the role. Based on the documentation on the Chef Wiki, I thought the role would trump the cookbook. Am I doing the override incorrectly? If I put the override in _node_ attributes, rather than the role, then it works ... but I don't want to have to do that for every node. -- cheers, Mike Williams |
Archive powered by MHonArc 2.6.16.