Hi, im starting with chef, and recently read a comment on a web, by adam jacob.
Talking about the roles and saying that you should only include attributes on
roles when it is absolutly unavoidable.
Then i meet with the “sudo” cookbook saying that you have to use role
attributes.
Role uses by devops for management nodes. So, it is very convenient to use roles for overriding default cookbook attributes for each node as you need.
Role - is very high level abstraction, it helps us to manage nodes. So, with help of attributes in role's descriptions we could easily modify state of our nodes without modifying any cookbook.
Hi, im starting with chef, and recently read a comment on a web, by adam jacob.
Talking about the roles and saying that you should only include attributes on
roles when it is absolutly unavoidable.
Then i meet with the "sudo" cookbook saying that you have to use role
attributes.
Someone from opscode has said. “When you get a shiney new hammer, suddenly,
everything becomes a nail” Roles are good and bad. With that said. You have
to know what your infrastructure requires or needs both present and future.
The moment you require logic you need to look at wrapper cookbooks.
As an example. I use roles to set values that are static and are unlikely
to change and define various environment specific run lists because that’s
how my company’s business model dictates and provides the most sense to our
day to day operations.
Someone from opscode has said. "When you get a shiney new hammer,
suddenly, everything becomes a nail" Roles are good and bad. With that
said. You have to know what your infrastructure requires or needs both
present and future. The moment you require logic you need to look at
wrapper cookbooks.
As an example. I use roles to set values that are static and are unlikely
to change and define various environment specific run lists because that's
how my company's business model dictates and provides the most sense to our
day to day operations.
Someone from opscode has said. "When you get a shiney new hammer,
suddenly, everything becomes a nail" Roles are good and bad. With that
said. You have to know what your infrastructure requires or needs both
present and future. The moment you require logic you need to look at
wrapper cookbooks.
As an example. I use roles to set values that are static and are unlikely
to change and define various environment specific run lists because that's
how my company's business model dictates and provides the most sense to our
day to day operations.
Someone from opscode has said. "When you get a shiney new hammer,
suddenly, everything becomes a nail" Roles are good and bad. With that
said. You have to know what your infrastructure requires or needs both
present and future. The moment you require logic you need to look at
wrapper cookbooks.
As an example. I use roles to set values that are static and are
unlikely to change and define various environment specific run lists
because that's how my company's business model dictates and provides the
most sense to our day to day operations.