I am using Chef for my production environment. I am aware of the standard attribute precedence that Chef has implemented, defined here:
http://docs.chef.io/attributes.html#attribute-precedence
The default attribute presedence is as follows:
Attribute files -> Node / Recipe -> Environment -> Roles
But what happens when I have a run_list containing multiple roles? Example:
"run_list": [ "role[webserver]", "role[dbserver]" ]
Which of the above default_attributes (defined in both roles) has precedence over the other?
Thanks!