spiceweasel 2.6.0 → 2.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +6 -14
- data/README.md +33 -9
- data/bin/spiceweasel +3 -3
- data/lib/spiceweasel.rb +3 -2
- data/lib/spiceweasel/berksfile.rb +6 -10
- data/lib/spiceweasel/cli.rb +174 -129
- data/lib/spiceweasel/clusters.rb +31 -23
- data/lib/spiceweasel/command.rb +23 -5
- data/lib/spiceweasel/command_helper.rb +36 -2
- data/lib/spiceweasel/config.rb +4 -3
- data/lib/spiceweasel/cookbooks.rb +76 -57
- data/lib/spiceweasel/data_bags.rb +100 -64
- data/lib/spiceweasel/environments.rb +78 -56
- data/lib/spiceweasel/execute.rb +6 -7
- data/lib/spiceweasel/extract_local.rb +59 -46
- data/lib/spiceweasel/knife.rb +21 -20
- data/lib/spiceweasel/log.rb +5 -5
- data/lib/spiceweasel/nodes.rb +261 -193
- data/lib/spiceweasel/roles.rb +107 -76
- data/lib/spiceweasel/version.rb +5 -3
- data/test/chef-repo/Berksfile +4 -0
- data/test/chef-repo/Berksfile.lock +10 -0
- data/test/chef-repo/PASSWORD +1 -0
- data/test/chef-repo/cookbooks/abc/CHANGELOG.md +13 -0
- data/test/chef-repo/cookbooks/abc/README.md +68 -0
- data/test/chef-repo/cookbooks/abc/metadata.rb +7 -0
- data/test/chef-repo/cookbooks/abc/recipes/default.rb +8 -0
- data/test/chef-repo/cookbooks/def/CHANGELOG.md +13 -0
- data/test/chef-repo/cookbooks/def/README.md +68 -0
- data/test/chef-repo/cookbooks/def/metadata.rb +7 -0
- data/test/chef-repo/cookbooks/def/recipes/default.rb +8 -0
- data/test/chef-repo/cookbooks/fail1/README.md +68 -0
- data/test/chef-repo/cookbooks/fail1/metadata.rb +9 -0
- data/test/chef-repo/cookbooks/fail2/README.md +68 -0
- data/test/chef-repo/cookbooks/fail2/metadata.rb +9 -0
- data/test/chef-repo/cookbooks/fail3/README.md +68 -0
- data/test/chef-repo/cookbooks/fail3/metadata.rb +9 -0
- data/test/chef-repo/cookbooks/ghi/CHANGELOG.md +13 -0
- data/test/chef-repo/cookbooks/ghi/README.md +68 -0
- data/test/chef-repo/cookbooks/ghi/metadata.rb +7 -0
- data/test/chef-repo/cookbooks/ghi/recipes/default.rb +8 -0
- data/test/chef-repo/cookbooks/jkl/CHANGELOG.md +13 -0
- data/test/chef-repo/cookbooks/jkl/README.md +68 -0
- data/test/chef-repo/cookbooks/jkl/metadata.rb +10 -0
- data/test/chef-repo/cookbooks/jkl/recipes/default.rb +8 -0
- data/test/chef-repo/cookbooks/mno/CHANGELOG.md +13 -0
- data/test/chef-repo/cookbooks/mno/README.md +68 -0
- data/test/chef-repo/cookbooks/mno/metadata.rb +9 -0
- data/test/chef-repo/cookbooks/mno/recipes/default.rb +8 -0
- data/test/chef-repo/data_bags/junk/README +1 -0
- data/test/chef-repo/data_bags/junk/abc.json +4 -0
- data/test/chef-repo/data_bags/junk/ade.json +4 -0
- data/test/chef-repo/data_bags/junk/afg.json +4 -0
- data/test/chef-repo/data_bags/junk/bcd.json +4 -0
- data/test/chef-repo/data_bags/junk/sub1/cde1.json +4 -0
- data/test/chef-repo/data_bags/junk/sub1/cde2.json +4 -0
- data/test/chef-repo/data_bags/junk/sub2/def1.json +4 -0
- data/test/chef-repo/data_bags/junk/sub2/def2.json +4 -0
- data/test/chef-repo/data_bags/users/README +1 -0
- data/test/chef-repo/data_bags/users/badjson.json +8 -0
- data/test/chef-repo/data_bags/users/failname.json +8 -0
- data/test/chef-repo/data_bags/users/mray.json +8 -0
- data/test/chef-repo/data_bags/users/ubuntu.json +8 -0
- data/test/chef-repo/environments/development.rb +2 -0
- data/test/chef-repo/environments/fail2.rb +8 -0
- data/test/chef-repo/environments/fail3.rb +2 -0
- data/test/chef-repo/environments/production-blue.json +177 -0
- data/test/chef-repo/environments/production-green.json +177 -0
- data/test/chef-repo/environments/production-red.json +177 -0
- data/test/chef-repo/environments/qa.rb +2 -0
- data/test/chef-repo/environments/sub/efg1.rb +2 -0
- data/test/chef-repo/environments/sub/efg2.json +177 -0
- data/test/chef-repo/fail-cookbook1.yml +19 -0
- data/test/chef-repo/fail-cookbook2.yml +21 -0
- data/test/chef-repo/fail-cookbook3.yml +37 -0
- data/test/chef-repo/fail-cookbook4.yml +37 -0
- data/test/chef-repo/fail-cookbook5.yml +10 -0
- data/test/chef-repo/fail-cookbook6.yml +9 -0
- data/test/chef-repo/fail-db1.yml +12 -0
- data/test/chef-repo/fail-db2.yml +10 -0
- data/test/chef-repo/fail-db3.yml +10 -0
- data/test/chef-repo/fail-db4.yml +10 -0
- data/test/chef-repo/fail-env1.yml +27 -0
- data/test/chef-repo/fail-env2.yml +27 -0
- data/test/chef-repo/fail-env3.yml +28 -0
- data/test/chef-repo/fail-env4.yml +28 -0
- data/test/chef-repo/fail-roles1.yml +22 -0
- data/test/chef-repo/fail-roles2.yml +21 -0
- data/test/chef-repo/fail-roles3.yml +23 -0
- data/test/chef-repo/fail-roles4.yml +23 -0
- data/test/chef-repo/fail-roles5.yml +23 -0
- data/test/chef-repo/infrastructure.yml +43 -0
- data/test/chef-repo/nodes/boxy.lab.atx.json +1756 -0
- data/test/chef-repo/nodes/guenter.home.atx.json +2503 -0
- data/test/chef-repo/roles/README +1 -0
- data/test/chef-repo/roles/base.rb +18 -0
- data/test/chef-repo/roles/base2.rb +16 -0
- data/test/chef-repo/roles/base3.rb +17 -0
- data/test/chef-repo/roles/base4.rb +15 -0
- data/test/chef-repo/roles/fail1.rb +8 -0
- data/test/chef-repo/roles/fail2.rb +5 -0
- data/test/chef-repo/roles/fail3.rb +5 -0
- data/test/chef-repo/roles/sub/bw2.json +21 -0
- data/test/chef-repo/roles/sub/bwi1.json +20 -0
- data/test/chef-repo/roles/tc.rb +13 -0
- data/test/examples/cluster-file-example.yml +14 -0
- data/test/examples/example-cluster.yml +8 -0
- data/test/examples/example.json +127 -0
- data/test/examples/example.rb +128 -0
- data/test/examples/example.yml +67 -0
- data/test/examples/google-example.yml +33 -0
- data/test/examples/joyent-vsphere-example.yml +15 -0
- data/test/examples/knife.yml +7 -0
- data/test/examples/kvm-example.yml +22 -0
- data/test/examples/node-example.yml +23 -0
- data/test/examples/php-quick-start.yml +83 -0
- data/test/extract-repo/Berksfile +4 -0
- data/test/extract-repo/Berksfile.lock +10 -0
- data/test/extract-repo/cookbooks/abc/CHANGELOG.md +13 -0
- data/test/extract-repo/cookbooks/abc/README.md +68 -0
- data/test/extract-repo/cookbooks/abc/metadata.rb +7 -0
- data/test/extract-repo/cookbooks/abc/recipes/default.rb +8 -0
- data/test/extract-repo/cookbooks/def/CHANGELOG.md +13 -0
- data/test/extract-repo/cookbooks/def/README.md +68 -0
- data/test/extract-repo/cookbooks/def/metadata.rb +7 -0
- data/test/extract-repo/cookbooks/def/recipes/default.rb +8 -0
- data/test/extract-repo/cookbooks/ghi/CHANGELOG.md +13 -0
- data/test/extract-repo/cookbooks/ghi/README.md +68 -0
- data/test/extract-repo/cookbooks/ghi/metadata.rb +7 -0
- data/test/extract-repo/cookbooks/ghi/recipes/default.rb +8 -0
- data/test/extract-repo/cookbooks/jkl/CHANGELOG.md +13 -0
- data/test/extract-repo/cookbooks/jkl/README.md +68 -0
- data/test/extract-repo/cookbooks/jkl/metadata.rb +10 -0
- data/test/extract-repo/cookbooks/jkl/recipes/default.rb +8 -0
- data/test/extract-repo/cookbooks/mno/CHANGELOG.md +13 -0
- data/test/extract-repo/cookbooks/mno/README.md +68 -0
- data/test/extract-repo/cookbooks/mno/metadata.rb +9 -0
- data/test/extract-repo/cookbooks/mno/recipes/default.rb +8 -0
- data/test/extract-repo/data_bags/junk/README +1 -0
- data/test/extract-repo/data_bags/junk/abc.json +4 -0
- data/test/extract-repo/data_bags/junk/ade.json +4 -0
- data/test/extract-repo/data_bags/junk/afg.json +4 -0
- data/test/extract-repo/data_bags/junk/bcd.json +4 -0
- data/test/extract-repo/data_bags/junk/sub1/cde1.json +4 -0
- data/test/extract-repo/data_bags/junk/sub1/cde2.json +4 -0
- data/test/extract-repo/data_bags/junk/sub2/def1.json +4 -0
- data/test/extract-repo/data_bags/junk/sub2/def2.json +4 -0
- data/test/extract-repo/data_bags/users/README +1 -0
- data/test/extract-repo/data_bags/users/mray.json +8 -0
- data/test/extract-repo/data_bags/users/ubuntu.json +8 -0
- data/test/extract-repo/environments/development.rb +2 -0
- data/test/extract-repo/environments/production-blue.json +177 -0
- data/test/extract-repo/environments/production-green.json +177 -0
- data/test/extract-repo/environments/production-red.json +177 -0
- data/test/extract-repo/environments/qa.rb +2 -0
- data/test/extract-repo/environments/sub/efg1.rb +2 -0
- data/test/extract-repo/environments/sub/efg2.json +177 -0
- data/test/extract-repo/nodes/boxy.lab.atx.json +1756 -0
- data/test/extract-repo/nodes/guenter.home.atx.json +2503 -0
- data/test/extract-repo/roles/README +1 -0
- data/test/extract-repo/roles/base.rb +18 -0
- data/test/extract-repo/roles/base2.rb +16 -0
- data/test/extract-repo/roles/base3.rb +17 -0
- data/test/extract-repo/roles/base4.rb +16 -0
- data/test/extract-repo/roles/sub/bw2.json +21 -0
- data/test/extract-repo/roles/sub/bwi1.json +20 -0
- data/test/extract-repo/roles/tc.rb +13 -0
- data/test/extract-repo2/cookbooks/README.md +1 -0
- data/test/extract-repo2/data_bags/README.md +1 -0
- data/test/extract-repo2/environments/README.md +1 -0
- data/test/extract-repo2/nodes/README.md +1 -0
- data/test/extract-repo2/roles/README.md +1 -0
- metadata +357 -67
- data/spec/bin/chef_client_spec.rb +0 -72
- data/spec/bin/google_spec.rb +0 -105
- data/spec/bin/joyent-vsphere_spec.rb +0 -25
- data/spec/bin/knife_spec.rb +0 -18
- data/spec/bin/kvm_spec.rb +0 -29
- data/spec/bin/node_spec.rb +0 -108
- data/spec/bin/spiceweasel_spec.rb +0 -136
@@ -0,0 +1,33 @@
|
|
1
|
+
cookbooks:
|
2
|
+
- apache2:
|
3
|
+
environments:
|
4
|
+
- qa:
|
5
|
+
roles:
|
6
|
+
- base:
|
7
|
+
- webserver:
|
8
|
+
data bags:
|
9
|
+
nodes:
|
10
|
+
- google 1:
|
11
|
+
run_list: role[base]
|
12
|
+
options: -m n1-standard-1 -I debian-7-wheezy-v20130723 -Z us-central2-a -i ~/.ssh/id_rsa -x jdoe -N gmas{{n}}
|
13
|
+
- google 2:
|
14
|
+
run_list: role[base]
|
15
|
+
options: -m n1-standard-1 -I debian-7-wheezy-v20130723 -Z us-central2-a -i ~/.ssh/id_rsa -x jdoe -N gdef{{n}}
|
16
|
+
- google aaa bbb ccc:
|
17
|
+
run_list: role[mysql]
|
18
|
+
options: -E qa -m n1-standard-1 -I debian-7-wheezy-v20130723 -Z us-central2-a -i ~/.ssh/id_rsa -x jdoe
|
19
|
+
- vcair 3:
|
20
|
+
run_list: role[base]
|
21
|
+
options: --template W2K12-STD-R2-64BIT --bootstrap-protocol winrm --customization-script vcair.bat
|
22
|
+
clusters:
|
23
|
+
- qa:
|
24
|
+
- google foo bar:
|
25
|
+
run_list: role[mysql]
|
26
|
+
options: -m n1-standard-1 -I debian-7-wheezy-v20130723 -Z us-central2-a -i ~/.ssh/id_rsa -x jdoe
|
27
|
+
- google 2:
|
28
|
+
run_list: role[mysql]
|
29
|
+
options: -m n1-standard-1 -I debian-7-wheezy-v20130723 -Z us-central2-a -i ~/.ssh/id_rsa -x jdoe -N g-qa{{n}}
|
30
|
+
- dev:
|
31
|
+
- vcair 2:
|
32
|
+
run_list: role[base]
|
33
|
+
options: --template W2K12-STD-R2-64BIT --bootstrap-protocol winrm --customization-script vcair.bat
|
@@ -0,0 +1,15 @@
|
|
1
|
+
cookbooks:
|
2
|
+
- apache2:
|
3
|
+
environments:
|
4
|
+
- qa:
|
5
|
+
roles:
|
6
|
+
- base:
|
7
|
+
data bags:
|
8
|
+
nodes:
|
9
|
+
- joyent 2:
|
10
|
+
run_list: role[base]
|
11
|
+
options: -i ~/.ssh/joyent.pem -E qa
|
12
|
+
- vsphere 2:
|
13
|
+
run_list: role[base]
|
14
|
+
options: -P secret_password -x Administrator --template some_template
|
15
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
cookbooks:
|
2
|
+
- apache2:
|
3
|
+
environments:
|
4
|
+
- qa:
|
5
|
+
roles:
|
6
|
+
- base:
|
7
|
+
data bags:
|
8
|
+
nodes:
|
9
|
+
- kvm 2:
|
10
|
+
run_list: role[base]
|
11
|
+
options: -E qa --template-file ~/.chef/bootstrap/ubuntu11.10-gems.erb --vm-disk /path-to/ubuntu1110-x64.qcow2 --vm-name knife-kvm-test-ubuntu --ssh-user ubuntu --ssh-password ubuntu --pool default --kvm-host my-test-host --kvm-user root --kvm-password secret
|
12
|
+
- windows_winrm winboxA winboxB:
|
13
|
+
run_list: role[base],role[iisserver]
|
14
|
+
options: -x Administrator -P 'super_secret_password'
|
15
|
+
clusters:
|
16
|
+
- qa:
|
17
|
+
- kvm 1:
|
18
|
+
run_list: role[mysql]
|
19
|
+
options: -E production --template-file ~/.chef/bootstrap/ubuntu11.10-gems.erb --vm-disk /path-to/ubuntu1110-x64.qcow2 --vm-name knife-kvm-test-ubuntu --ssh-user ubuntu --ssh-password ubuntu --pool default --kvm-host my-test-host --kvm-user root --kvm-password secret
|
20
|
+
- kvm 3:
|
21
|
+
run_list: role[webserver] recipe[mysql::client]
|
22
|
+
options: --template-file ~/.chef/bootstrap/ubuntu11.10-gems.erb --vm-disk /path-to/ubuntu1110-x64.qcow2 --vm-name knife-kvm-test-ubuntu --ssh-user ubuntu --ssh-password ubuntu --pool default --kvm-host my-test-host --kvm-user root --kvm-password secret
|
@@ -0,0 +1,23 @@
|
|
1
|
+
nodes:
|
2
|
+
- serverA:
|
3
|
+
run_list: role[base]
|
4
|
+
options: --identity-file ~/.ssh/mray.pem --ssh-user user --sudo --no-host-key-verify --ssh-port 22
|
5
|
+
- serverB serverC:
|
6
|
+
run_list: role[base]
|
7
|
+
options: -E development -i ~/.ssh/mray.pem -x user --sudo
|
8
|
+
- linode 3:
|
9
|
+
run_list: recipe[mysql],role[monitoring]
|
10
|
+
options: --image 49 -E qa --flavor 2 -N db{{n}}
|
11
|
+
- windows_winrm winboxA:
|
12
|
+
run_list: role[base],role[iisserver]
|
13
|
+
options: -x Administrator -P 'super_secret_password'
|
14
|
+
- windows_ssh winboxB winboxC:
|
15
|
+
options: -x Administrator -P 'super_secret_password'
|
16
|
+
clusters:
|
17
|
+
- digital:
|
18
|
+
- digital_ocean 1:
|
19
|
+
run_list: role[mysql]
|
20
|
+
options: -S mray -i ~/.ssh/mray.pem -x ubuntu -I ami-8af0f326 -f m1.medium -N DOmysql
|
21
|
+
- digital_ocean 3:
|
22
|
+
run_list: role[webserver] recipe[mysql::client]
|
23
|
+
options: -S mray -i ~/.ssh/mray.pem -x ubuntu -I ami-7000f019 -f m1.small -N DOweb{{n}}
|
@@ -0,0 +1,83 @@
|
|
1
|
+
cookbooks:
|
2
|
+
- apache2:
|
3
|
+
- 0.99.3
|
4
|
+
- application:
|
5
|
+
- 0.99.9
|
6
|
+
- apt:
|
7
|
+
- 1.1.1
|
8
|
+
- aws:
|
9
|
+
- 0.99.0
|
10
|
+
- build-essential:
|
11
|
+
- 1.0.0
|
12
|
+
- database:
|
13
|
+
- 0.99.0
|
14
|
+
- git:
|
15
|
+
- 0.9.0
|
16
|
+
- gunicorn:
|
17
|
+
- 1.0.0
|
18
|
+
- haproxy:
|
19
|
+
- 0.8.1
|
20
|
+
- java:
|
21
|
+
- 1.1
|
22
|
+
- jpackage:
|
23
|
+
- 0.10.0
|
24
|
+
- mediawiki:
|
25
|
+
- 0.0.1
|
26
|
+
- mysql:
|
27
|
+
- 1.0.3
|
28
|
+
- openssl:
|
29
|
+
- 0.1
|
30
|
+
- packages:
|
31
|
+
- 0.9.2
|
32
|
+
- passenger_apache2:
|
33
|
+
- 0.16.3
|
34
|
+
- php:
|
35
|
+
- 1.0.0
|
36
|
+
- python:
|
37
|
+
- 1.0.2
|
38
|
+
- rails:
|
39
|
+
- 0.9.2
|
40
|
+
- ruby:
|
41
|
+
- 0.9.0
|
42
|
+
- rubygems:
|
43
|
+
- 0.2
|
44
|
+
- runit:
|
45
|
+
- 0.14.2
|
46
|
+
- tomcat:
|
47
|
+
- 0.10.3
|
48
|
+
- unicorn:
|
49
|
+
- 0.1.3
|
50
|
+
- xfs:
|
51
|
+
- 0.1
|
52
|
+
- xml:
|
53
|
+
- 0.1
|
54
|
+
|
55
|
+
roles:
|
56
|
+
- base:
|
57
|
+
- production:
|
58
|
+
- mediawiki_database_master:
|
59
|
+
- mediawiki:
|
60
|
+
- mediawiki_load_balancer:
|
61
|
+
|
62
|
+
data bags:
|
63
|
+
- apps:
|
64
|
+
- mediawiki
|
65
|
+
|
66
|
+
nodes:
|
67
|
+
#single node
|
68
|
+
# - ec2:
|
69
|
+
# - role[production],role[base],role[mediawiki_database_master],role[mediawiki],recipe[mediawiki::db_bootstrap]
|
70
|
+
# - -S mray -i ~/.ssh/mray.pem -x ubuntu -G default -I ami-7000f019 -f m1.small
|
71
|
+
#multi node
|
72
|
+
- ec2:
|
73
|
+
- role[production],role[base],role[mediawiki_database_master]
|
74
|
+
- -S mray -i ~/.ssh/mray.pem -x ubuntu -G default -I ami-7000f019 -f m1.small
|
75
|
+
- ec2:
|
76
|
+
- role[production],role[base],role[mediawiki],recipe[mediawiki::db_bootstrap]
|
77
|
+
- -S mray -i ~/.ssh/mray.pem -x ubuntu -G default -I ami-7000f019 -f m1.small
|
78
|
+
- ec2:
|
79
|
+
- role[production],role[base],role[mediawiki]
|
80
|
+
- -S mray -i ~/.ssh/mray.pem -x ubuntu -G default -I ami-7000f019 -f m1.small
|
81
|
+
- ec2:
|
82
|
+
- role[production],role[base],role[mediawiki_load_balancer]
|
83
|
+
- -S mray -i ~/.ssh/mray.pem -x ubuntu -G default -I ami-7000f019 -f m1.small
|
@@ -0,0 +1,13 @@
|
|
1
|
+
abc CHANGELOG
|
2
|
+
=============
|
3
|
+
|
4
|
+
This file is used to list changes made in each version of the abc cookbook.
|
5
|
+
|
6
|
+
0.1.0
|
7
|
+
-----
|
8
|
+
- [your_name] - Initial release of abc
|
9
|
+
|
10
|
+
- - -
|
11
|
+
Check the [Markdown Syntax Guide](http://daringfireball.net/projects/markdown/syntax) for help with Markdown.
|
12
|
+
|
13
|
+
The [Github Flavored Markdown page](http://github.github.com/github-flavored-markdown/) describes the differences between markdown on github and standard markdown.
|
@@ -0,0 +1,68 @@
|
|
1
|
+
abc Cookbook
|
2
|
+
============
|
3
|
+
TODO: Enter the cookbook description here.
|
4
|
+
|
5
|
+
e.g.
|
6
|
+
This cookbook makes your favorite breakfast sandwich.
|
7
|
+
|
8
|
+
Requirements
|
9
|
+
------------
|
10
|
+
TODO: List your cookbook requirements. Be sure to include any requirements this cookbook has on platforms, libraries, other cookbooks, packages, operating systems, etc.
|
11
|
+
|
12
|
+
e.g.
|
13
|
+
#### packages
|
14
|
+
- `toaster` - abc needs toaster to brown your bagel.
|
15
|
+
|
16
|
+
Attributes
|
17
|
+
----------
|
18
|
+
TODO: List your cookbook attributes here.
|
19
|
+
|
20
|
+
e.g.
|
21
|
+
#### abc::default
|
22
|
+
<table>
|
23
|
+
<tr>
|
24
|
+
<th>Key</th>
|
25
|
+
<th>Type</th>
|
26
|
+
<th>Description</th>
|
27
|
+
<th>Default</th>
|
28
|
+
</tr>
|
29
|
+
<tr>
|
30
|
+
<td><tt>['abc']['bacon']</tt></td>
|
31
|
+
<td>Boolean</td>
|
32
|
+
<td>whether to include bacon</td>
|
33
|
+
<td><tt>true</tt></td>
|
34
|
+
</tr>
|
35
|
+
</table>
|
36
|
+
|
37
|
+
Usage
|
38
|
+
-----
|
39
|
+
#### abc::default
|
40
|
+
TODO: Write usage instructions for each cookbook.
|
41
|
+
|
42
|
+
e.g.
|
43
|
+
Just include `abc` in your node's `run_list`:
|
44
|
+
|
45
|
+
```json
|
46
|
+
{
|
47
|
+
"name":"my_node",
|
48
|
+
"run_list": [
|
49
|
+
"recipe[abc]"
|
50
|
+
]
|
51
|
+
}
|
52
|
+
```
|
53
|
+
|
54
|
+
Contributing
|
55
|
+
------------
|
56
|
+
TODO: (optional) If this is a public cookbook, detail the process for contributing. If this is a private cookbook, remove this section.
|
57
|
+
|
58
|
+
e.g.
|
59
|
+
1. Fork the repository on Github
|
60
|
+
2. Create a named feature branch (like `add_component_x`)
|
61
|
+
3. Write your change
|
62
|
+
4. Write tests for your change (if applicable)
|
63
|
+
5. Run the tests, ensuring they all pass
|
64
|
+
6. Submit a Pull Request using Github
|
65
|
+
|
66
|
+
License and Authors
|
67
|
+
-------------------
|
68
|
+
Authors: TODO: List authors
|
@@ -0,0 +1,13 @@
|
|
1
|
+
def CHANGELOG
|
2
|
+
=============
|
3
|
+
|
4
|
+
This file is used to list changes made in each version of the def cookbook.
|
5
|
+
|
6
|
+
0.1.0
|
7
|
+
-----
|
8
|
+
- [your_name] - Initial release of def
|
9
|
+
|
10
|
+
- - -
|
11
|
+
Check the [Markdown Syntax Guide](http://daringfireball.net/projects/markdown/syntax) for help with Markdown.
|
12
|
+
|
13
|
+
The [Github Flavored Markdown page](http://github.github.com/github-flavored-markdown/) describes the differences between markdown on github and standard markdown.
|
@@ -0,0 +1,68 @@
|
|
1
|
+
def Cookbook
|
2
|
+
============
|
3
|
+
TODO: Enter the cookbook description here.
|
4
|
+
|
5
|
+
e.g.
|
6
|
+
This cookbook makes your favorite breakfast sandwich.
|
7
|
+
|
8
|
+
Requirements
|
9
|
+
------------
|
10
|
+
TODO: List your cookbook requirements. Be sure to include any requirements this cookbook has on platforms, libraries, other cookbooks, packages, operating systems, etc.
|
11
|
+
|
12
|
+
e.g.
|
13
|
+
#### packages
|
14
|
+
- `toaster` - def needs toaster to brown your bagel.
|
15
|
+
|
16
|
+
Attributes
|
17
|
+
----------
|
18
|
+
TODO: List your cookbook attributes here.
|
19
|
+
|
20
|
+
e.g.
|
21
|
+
#### def::default
|
22
|
+
<table>
|
23
|
+
<tr>
|
24
|
+
<th>Key</th>
|
25
|
+
<th>Type</th>
|
26
|
+
<th>Description</th>
|
27
|
+
<th>Default</th>
|
28
|
+
</tr>
|
29
|
+
<tr>
|
30
|
+
<td><tt>['def']['bacon']</tt></td>
|
31
|
+
<td>Boolean</td>
|
32
|
+
<td>whether to include bacon</td>
|
33
|
+
<td><tt>true</tt></td>
|
34
|
+
</tr>
|
35
|
+
</table>
|
36
|
+
|
37
|
+
Usage
|
38
|
+
-----
|
39
|
+
#### def::default
|
40
|
+
TODO: Write usage instructions for each cookbook.
|
41
|
+
|
42
|
+
e.g.
|
43
|
+
Just include `def` in your node's `run_list`:
|
44
|
+
|
45
|
+
```json
|
46
|
+
{
|
47
|
+
"name":"my_node",
|
48
|
+
"run_list": [
|
49
|
+
"recipe[def]"
|
50
|
+
]
|
51
|
+
}
|
52
|
+
```
|
53
|
+
|
54
|
+
Contributing
|
55
|
+
------------
|
56
|
+
TODO: (optional) If this is a public cookbook, detail the process for contributing. If this is a private cookbook, remove this section.
|
57
|
+
|
58
|
+
e.g.
|
59
|
+
1. Fork the repository on Github
|
60
|
+
2. Create a named feature branch (like `add_component_x`)
|
61
|
+
3. Write your change
|
62
|
+
4. Write tests for your change (if applicable)
|
63
|
+
5. Run the tests, ensuring they all pass
|
64
|
+
6. Submit a Pull Request using Github
|
65
|
+
|
66
|
+
License and Authors
|
67
|
+
-------------------
|
68
|
+
Authors: TODO: List authors
|
@@ -0,0 +1,13 @@
|
|
1
|
+
ghi CHANGELOG
|
2
|
+
=============
|
3
|
+
|
4
|
+
This file is used to list changes made in each version of the ghi cookbook.
|
5
|
+
|
6
|
+
0.1.0
|
7
|
+
-----
|
8
|
+
- [your_name] - Initial release of ghi
|
9
|
+
|
10
|
+
- - -
|
11
|
+
Check the [Markdown Syntax Guide](http://daringfireball.net/projects/markdown/syntax) for help with Markdown.
|
12
|
+
|
13
|
+
The [Github Flavored Markdown page](http://github.github.com/github-flavored-markdown/) describes the differences between markdown on github and standard markdown.
|
@@ -0,0 +1,68 @@
|
|
1
|
+
ghi Cookbook
|
2
|
+
============
|
3
|
+
TODO: Enter the cookbook description here.
|
4
|
+
|
5
|
+
e.g.
|
6
|
+
This cookbook makes your favorite breakfast sandwich.
|
7
|
+
|
8
|
+
Requirements
|
9
|
+
------------
|
10
|
+
TODO: List your cookbook requirements. Be sure to include any requirements this cookbook has on platforms, libraries, other cookbooks, packages, operating systems, etc.
|
11
|
+
|
12
|
+
e.g.
|
13
|
+
#### packages
|
14
|
+
- `toaster` - ghi needs toaster to brown your bagel.
|
15
|
+
|
16
|
+
Attributes
|
17
|
+
----------
|
18
|
+
TODO: List your cookbook attributes here.
|
19
|
+
|
20
|
+
e.g.
|
21
|
+
#### ghi::default
|
22
|
+
<table>
|
23
|
+
<tr>
|
24
|
+
<th>Key</th>
|
25
|
+
<th>Type</th>
|
26
|
+
<th>Description</th>
|
27
|
+
<th>Default</th>
|
28
|
+
</tr>
|
29
|
+
<tr>
|
30
|
+
<td><tt>['ghi']['bacon']</tt></td>
|
31
|
+
<td>Boolean</td>
|
32
|
+
<td>whether to include bacon</td>
|
33
|
+
<td><tt>true</tt></td>
|
34
|
+
</tr>
|
35
|
+
</table>
|
36
|
+
|
37
|
+
Usage
|
38
|
+
-----
|
39
|
+
#### ghi::default
|
40
|
+
TODO: Write usage instructions for each cookbook.
|
41
|
+
|
42
|
+
e.g.
|
43
|
+
Just include `ghi` in your node's `run_list`:
|
44
|
+
|
45
|
+
```json
|
46
|
+
{
|
47
|
+
"name":"my_node",
|
48
|
+
"run_list": [
|
49
|
+
"recipe[ghi]"
|
50
|
+
]
|
51
|
+
}
|
52
|
+
```
|
53
|
+
|
54
|
+
Contributing
|
55
|
+
------------
|
56
|
+
TODO: (optional) If this is a public cookbook, detail the process for contributing. If this is a private cookbook, remove this section.
|
57
|
+
|
58
|
+
e.g.
|
59
|
+
1. Fork the repository on Github
|
60
|
+
2. Create a named feature branch (like `add_component_x`)
|
61
|
+
3. Write your change
|
62
|
+
4. Write tests for your change (if applicable)
|
63
|
+
5. Run the tests, ensuring they all pass
|
64
|
+
6. Submit a Pull Request using Github
|
65
|
+
|
66
|
+
License and Authors
|
67
|
+
-------------------
|
68
|
+
Authors: TODO: List authors
|