Create roles here, in either the Role Ruby DSL (.rb) or JSON (.json) files. To install roles on the server, use knife. For example, create roles/base_example.rb: name "base_example" description "Example base role applied to all nodes." # List of recipes and roles to apply. Requires Chef 0.8, earlier versions use 'recipes()'. #run_list() # Attributes applied if the node doesn't have it set already.
![ソースツリー: /roles/ (master) - grid-chef-repo (git) - Meta Search - OSDN](https://cdn-ak-scissors.b.st-hatena.com/image/square/882204600c60d0adc883b3c81bacb9339aa714d2/height=288;version=1;width=512/https%3A%2F%2Fstatic-cdn.osdn.net%2Fdefault-photo.png)