Create test model
[sdc.git] / integration-tests / integration-tests-init / chef-solo / roles / README.md
1 Create roles here, in either the Role Ruby DSL (.rb) or JSON (.json) files. To install roles on the server, use knife.
2
3 For example, create `roles/base_example.rb`:
4
5     name "base_example"
6     description "Example base role applied to all nodes."
7     # List of recipes and roles to apply. Requires Chef 0.8, earlier versions use 'recipes()'.
8     #run_list()
9     # Attributes applied if the node doesn't have it set already.
10     #default_attributes()
11     # Attributes applied no matter what the node has set already.
12     #override_attributes()
13
14 Then upload it to the Chef Server:
15     
16     knife role from file roles/base_example.rb