chef - precedence of attributes set on node level

Viewed 7180

Maybe I missed something in the doc's, but after reading the order that attributes are used when defined in multiple places I don't understand where attributes set at the node level come into the equation

In the 1 to 15 levels of where attributes can be set and overridden, it mentions recipe, environment, role, attribute file but it never seems to mention what happens to attributes defined on a node, say by knife node edit ...

It looks like you can only define attributes of normal type on a node? Normal attributes are only mentioned for priority levels 7 and 8 in the list... attribute files and recipes respectively.

So if I set an attribute on the node that was also defined on the environment and role levels who wins?

1 Answers
Related