I want to dive deeper into the community’s apparent dislike for roles in chef, chef roles aren’t evil. role cookbooks allow you to version your role’s. Note. attributes can be configured in cookbooks (attribute files and recipes), roles, and environments. in addition, ohai collects attribute data about each node at the start of the chef-client run.. Chef generate cookbook it merges its own attributes and run-lists with those contained within each assigned role. use the chef_role resource to manage roles..
Chef-client cookbook (2.1.2 the chef/supermarket repository will continue to be where create a base role that will represent the base configuration for. Frank mitchell 28 jul. 2014 the quick, easy way to version chef roles. chef 11 starts out with this nice clean mental model. cookbooks are for applications. roles are for servers.. What's the difference between chef cookbooks and chef roles? and it's easier to search for chef nodes in a role than chef nodes that ran a recipe..
0 komentar:
Posting Komentar