spiceweasel 2.6.0 → 2.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (180) hide show
  1. checksums.yaml +6 -14
  2. data/README.md +33 -9
  3. data/bin/spiceweasel +3 -3
  4. data/lib/spiceweasel.rb +3 -2
  5. data/lib/spiceweasel/berksfile.rb +6 -10
  6. data/lib/spiceweasel/cli.rb +174 -129
  7. data/lib/spiceweasel/clusters.rb +31 -23
  8. data/lib/spiceweasel/command.rb +23 -5
  9. data/lib/spiceweasel/command_helper.rb +36 -2
  10. data/lib/spiceweasel/config.rb +4 -3
  11. data/lib/spiceweasel/cookbooks.rb +76 -57
  12. data/lib/spiceweasel/data_bags.rb +100 -64
  13. data/lib/spiceweasel/environments.rb +78 -56
  14. data/lib/spiceweasel/execute.rb +6 -7
  15. data/lib/spiceweasel/extract_local.rb +59 -46
  16. data/lib/spiceweasel/knife.rb +21 -20
  17. data/lib/spiceweasel/log.rb +5 -5
  18. data/lib/spiceweasel/nodes.rb +261 -193
  19. data/lib/spiceweasel/roles.rb +107 -76
  20. data/lib/spiceweasel/version.rb +5 -3
  21. data/test/chef-repo/Berksfile +4 -0
  22. data/test/chef-repo/Berksfile.lock +10 -0
  23. data/test/chef-repo/PASSWORD +1 -0
  24. data/test/chef-repo/cookbooks/abc/CHANGELOG.md +13 -0
  25. data/test/chef-repo/cookbooks/abc/README.md +68 -0
  26. data/test/chef-repo/cookbooks/abc/metadata.rb +7 -0
  27. data/test/chef-repo/cookbooks/abc/recipes/default.rb +8 -0
  28. data/test/chef-repo/cookbooks/def/CHANGELOG.md +13 -0
  29. data/test/chef-repo/cookbooks/def/README.md +68 -0
  30. data/test/chef-repo/cookbooks/def/metadata.rb +7 -0
  31. data/test/chef-repo/cookbooks/def/recipes/default.rb +8 -0
  32. data/test/chef-repo/cookbooks/fail1/README.md +68 -0
  33. data/test/chef-repo/cookbooks/fail1/metadata.rb +9 -0
  34. data/test/chef-repo/cookbooks/fail2/README.md +68 -0
  35. data/test/chef-repo/cookbooks/fail2/metadata.rb +9 -0
  36. data/test/chef-repo/cookbooks/fail3/README.md +68 -0
  37. data/test/chef-repo/cookbooks/fail3/metadata.rb +9 -0
  38. data/test/chef-repo/cookbooks/ghi/CHANGELOG.md +13 -0
  39. data/test/chef-repo/cookbooks/ghi/README.md +68 -0
  40. data/test/chef-repo/cookbooks/ghi/metadata.rb +7 -0
  41. data/test/chef-repo/cookbooks/ghi/recipes/default.rb +8 -0
  42. data/test/chef-repo/cookbooks/jkl/CHANGELOG.md +13 -0
  43. data/test/chef-repo/cookbooks/jkl/README.md +68 -0
  44. data/test/chef-repo/cookbooks/jkl/metadata.rb +10 -0
  45. data/test/chef-repo/cookbooks/jkl/recipes/default.rb +8 -0
  46. data/test/chef-repo/cookbooks/mno/CHANGELOG.md +13 -0
  47. data/test/chef-repo/cookbooks/mno/README.md +68 -0
  48. data/test/chef-repo/cookbooks/mno/metadata.rb +9 -0
  49. data/test/chef-repo/cookbooks/mno/recipes/default.rb +8 -0
  50. data/test/chef-repo/data_bags/junk/README +1 -0
  51. data/test/chef-repo/data_bags/junk/abc.json +4 -0
  52. data/test/chef-repo/data_bags/junk/ade.json +4 -0
  53. data/test/chef-repo/data_bags/junk/afg.json +4 -0
  54. data/test/chef-repo/data_bags/junk/bcd.json +4 -0
  55. data/test/chef-repo/data_bags/junk/sub1/cde1.json +4 -0
  56. data/test/chef-repo/data_bags/junk/sub1/cde2.json +4 -0
  57. data/test/chef-repo/data_bags/junk/sub2/def1.json +4 -0
  58. data/test/chef-repo/data_bags/junk/sub2/def2.json +4 -0
  59. data/test/chef-repo/data_bags/users/README +1 -0
  60. data/test/chef-repo/data_bags/users/badjson.json +8 -0
  61. data/test/chef-repo/data_bags/users/failname.json +8 -0
  62. data/test/chef-repo/data_bags/users/mray.json +8 -0
  63. data/test/chef-repo/data_bags/users/ubuntu.json +8 -0
  64. data/test/chef-repo/environments/development.rb +2 -0
  65. data/test/chef-repo/environments/fail2.rb +8 -0
  66. data/test/chef-repo/environments/fail3.rb +2 -0
  67. data/test/chef-repo/environments/production-blue.json +177 -0
  68. data/test/chef-repo/environments/production-green.json +177 -0
  69. data/test/chef-repo/environments/production-red.json +177 -0
  70. data/test/chef-repo/environments/qa.rb +2 -0
  71. data/test/chef-repo/environments/sub/efg1.rb +2 -0
  72. data/test/chef-repo/environments/sub/efg2.json +177 -0
  73. data/test/chef-repo/fail-cookbook1.yml +19 -0
  74. data/test/chef-repo/fail-cookbook2.yml +21 -0
  75. data/test/chef-repo/fail-cookbook3.yml +37 -0
  76. data/test/chef-repo/fail-cookbook4.yml +37 -0
  77. data/test/chef-repo/fail-cookbook5.yml +10 -0
  78. data/test/chef-repo/fail-cookbook6.yml +9 -0
  79. data/test/chef-repo/fail-db1.yml +12 -0
  80. data/test/chef-repo/fail-db2.yml +10 -0
  81. data/test/chef-repo/fail-db3.yml +10 -0
  82. data/test/chef-repo/fail-db4.yml +10 -0
  83. data/test/chef-repo/fail-env1.yml +27 -0
  84. data/test/chef-repo/fail-env2.yml +27 -0
  85. data/test/chef-repo/fail-env3.yml +28 -0
  86. data/test/chef-repo/fail-env4.yml +28 -0
  87. data/test/chef-repo/fail-roles1.yml +22 -0
  88. data/test/chef-repo/fail-roles2.yml +21 -0
  89. data/test/chef-repo/fail-roles3.yml +23 -0
  90. data/test/chef-repo/fail-roles4.yml +23 -0
  91. data/test/chef-repo/fail-roles5.yml +23 -0
  92. data/test/chef-repo/infrastructure.yml +43 -0
  93. data/test/chef-repo/nodes/boxy.lab.atx.json +1756 -0
  94. data/test/chef-repo/nodes/guenter.home.atx.json +2503 -0
  95. data/test/chef-repo/roles/README +1 -0
  96. data/test/chef-repo/roles/base.rb +18 -0
  97. data/test/chef-repo/roles/base2.rb +16 -0
  98. data/test/chef-repo/roles/base3.rb +17 -0
  99. data/test/chef-repo/roles/base4.rb +15 -0
  100. data/test/chef-repo/roles/fail1.rb +8 -0
  101. data/test/chef-repo/roles/fail2.rb +5 -0
  102. data/test/chef-repo/roles/fail3.rb +5 -0
  103. data/test/chef-repo/roles/sub/bw2.json +21 -0
  104. data/test/chef-repo/roles/sub/bwi1.json +20 -0
  105. data/test/chef-repo/roles/tc.rb +13 -0
  106. data/test/examples/cluster-file-example.yml +14 -0
  107. data/test/examples/example-cluster.yml +8 -0
  108. data/test/examples/example.json +127 -0
  109. data/test/examples/example.rb +128 -0
  110. data/test/examples/example.yml +67 -0
  111. data/test/examples/google-example.yml +33 -0
  112. data/test/examples/joyent-vsphere-example.yml +15 -0
  113. data/test/examples/knife.yml +7 -0
  114. data/test/examples/kvm-example.yml +22 -0
  115. data/test/examples/node-example.yml +23 -0
  116. data/test/examples/php-quick-start.yml +83 -0
  117. data/test/extract-repo/Berksfile +4 -0
  118. data/test/extract-repo/Berksfile.lock +10 -0
  119. data/test/extract-repo/cookbooks/abc/CHANGELOG.md +13 -0
  120. data/test/extract-repo/cookbooks/abc/README.md +68 -0
  121. data/test/extract-repo/cookbooks/abc/metadata.rb +7 -0
  122. data/test/extract-repo/cookbooks/abc/recipes/default.rb +8 -0
  123. data/test/extract-repo/cookbooks/def/CHANGELOG.md +13 -0
  124. data/test/extract-repo/cookbooks/def/README.md +68 -0
  125. data/test/extract-repo/cookbooks/def/metadata.rb +7 -0
  126. data/test/extract-repo/cookbooks/def/recipes/default.rb +8 -0
  127. data/test/extract-repo/cookbooks/ghi/CHANGELOG.md +13 -0
  128. data/test/extract-repo/cookbooks/ghi/README.md +68 -0
  129. data/test/extract-repo/cookbooks/ghi/metadata.rb +7 -0
  130. data/test/extract-repo/cookbooks/ghi/recipes/default.rb +8 -0
  131. data/test/extract-repo/cookbooks/jkl/CHANGELOG.md +13 -0
  132. data/test/extract-repo/cookbooks/jkl/README.md +68 -0
  133. data/test/extract-repo/cookbooks/jkl/metadata.rb +10 -0
  134. data/test/extract-repo/cookbooks/jkl/recipes/default.rb +8 -0
  135. data/test/extract-repo/cookbooks/mno/CHANGELOG.md +13 -0
  136. data/test/extract-repo/cookbooks/mno/README.md +68 -0
  137. data/test/extract-repo/cookbooks/mno/metadata.rb +9 -0
  138. data/test/extract-repo/cookbooks/mno/recipes/default.rb +8 -0
  139. data/test/extract-repo/data_bags/junk/README +1 -0
  140. data/test/extract-repo/data_bags/junk/abc.json +4 -0
  141. data/test/extract-repo/data_bags/junk/ade.json +4 -0
  142. data/test/extract-repo/data_bags/junk/afg.json +4 -0
  143. data/test/extract-repo/data_bags/junk/bcd.json +4 -0
  144. data/test/extract-repo/data_bags/junk/sub1/cde1.json +4 -0
  145. data/test/extract-repo/data_bags/junk/sub1/cde2.json +4 -0
  146. data/test/extract-repo/data_bags/junk/sub2/def1.json +4 -0
  147. data/test/extract-repo/data_bags/junk/sub2/def2.json +4 -0
  148. data/test/extract-repo/data_bags/users/README +1 -0
  149. data/test/extract-repo/data_bags/users/mray.json +8 -0
  150. data/test/extract-repo/data_bags/users/ubuntu.json +8 -0
  151. data/test/extract-repo/environments/development.rb +2 -0
  152. data/test/extract-repo/environments/production-blue.json +177 -0
  153. data/test/extract-repo/environments/production-green.json +177 -0
  154. data/test/extract-repo/environments/production-red.json +177 -0
  155. data/test/extract-repo/environments/qa.rb +2 -0
  156. data/test/extract-repo/environments/sub/efg1.rb +2 -0
  157. data/test/extract-repo/environments/sub/efg2.json +177 -0
  158. data/test/extract-repo/nodes/boxy.lab.atx.json +1756 -0
  159. data/test/extract-repo/nodes/guenter.home.atx.json +2503 -0
  160. data/test/extract-repo/roles/README +1 -0
  161. data/test/extract-repo/roles/base.rb +18 -0
  162. data/test/extract-repo/roles/base2.rb +16 -0
  163. data/test/extract-repo/roles/base3.rb +17 -0
  164. data/test/extract-repo/roles/base4.rb +16 -0
  165. data/test/extract-repo/roles/sub/bw2.json +21 -0
  166. data/test/extract-repo/roles/sub/bwi1.json +20 -0
  167. data/test/extract-repo/roles/tc.rb +13 -0
  168. data/test/extract-repo2/cookbooks/README.md +1 -0
  169. data/test/extract-repo2/data_bags/README.md +1 -0
  170. data/test/extract-repo2/environments/README.md +1 -0
  171. data/test/extract-repo2/nodes/README.md +1 -0
  172. data/test/extract-repo2/roles/README.md +1 -0
  173. metadata +357 -67
  174. data/spec/bin/chef_client_spec.rb +0 -72
  175. data/spec/bin/google_spec.rb +0 -105
  176. data/spec/bin/joyent-vsphere_spec.rb +0 -25
  177. data/spec/bin/knife_spec.rb +0 -18
  178. data/spec/bin/kvm_spec.rb +0 -29
  179. data/spec/bin/node_spec.rb +0 -108
  180. data/spec/bin/spiceweasel_spec.rb +0 -136
@@ -0,0 +1,7 @@
1
+ name 'def'
2
+ maintainer 'YOUR_COMPANY_NAME'
3
+ maintainer_email 'YOUR_EMAIL'
4
+ license 'All rights reserved'
5
+ description 'Installs/Configures def'
6
+ long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
7
+ version '0.1.0'
@@ -0,0 +1,8 @@
1
+ #
2
+ # Cookbook Name:: def
3
+ # Recipe:: default
4
+ #
5
+ # Copyright 2014, YOUR_COMPANY_NAME
6
+ #
7
+ # All rights reserved - Do Not Redistribute
8
+ #
@@ -0,0 +1,68 @@
1
+ mno 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` - mno needs toaster to brown your bagel.
15
+
16
+ Attributes
17
+ ----------
18
+ TODO: List your cookbook attributes here.
19
+
20
+ e.g.
21
+ #### mno::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>['mno']['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
+ #### mno::default
40
+ TODO: Write usage instructions for each cookbook.
41
+
42
+ e.g.
43
+ Just include `mno` in your node's `run_list`:
44
+
45
+ ```json
46
+ {
47
+ "name":"my_node",
48
+ "run_list": [
49
+ "recipe[mno]"
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,9 @@
1
+ name 'mno'
2
+ maintainer 'YOUR_COMPANY_NAME'
3
+ maintainer_email 'YOUR_EMAIL'
4
+ license 'All rights reserved'
5
+ description 'Installs/Configures mno'
6
+ long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
7
+ version '0.10.0'
8
+
9
+ depends 'def'
@@ -0,0 +1,68 @@
1
+ mno 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` - mno needs toaster to brown your bagel.
15
+
16
+ Attributes
17
+ ----------
18
+ TODO: List your cookbook attributes here.
19
+
20
+ e.g.
21
+ #### mno::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>['mno']['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
+ #### mno::default
40
+ TODO: Write usage instructions for each cookbook.
41
+
42
+ e.g.
43
+ Just include `mno` in your node's `run_list`:
44
+
45
+ ```json
46
+ {
47
+ "name":"my_node",
48
+ "run_list": [
49
+ "recipe[mno]"
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,9 @@
1
+ name 'fail2'
2
+ maintainer 'YOUR_COMPANY_NAME'
3
+ maintainer_email 'YOUR_EMAIL'
4
+ license 'All rights reserved'
5
+ description 'Installs/Configures mno'
6
+ long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
7
+ version '0.10.0'
8
+
9
+ depends 'fail0'
@@ -0,0 +1,68 @@
1
+ mno 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` - mno needs toaster to brown your bagel.
15
+
16
+ Attributes
17
+ ----------
18
+ TODO: List your cookbook attributes here.
19
+
20
+ e.g.
21
+ #### mno::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>['mno']['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
+ #### mno::default
40
+ TODO: Write usage instructions for each cookbook.
41
+
42
+ e.g.
43
+ Just include `mno` in your node's `run_list`:
44
+
45
+ ```json
46
+ {
47
+ "name":"my_node",
48
+ "run_list": [
49
+ "recipe[mno]"
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,9 @@
1
+ name 'fail3'
2
+ maintainer 'YOUR_COMPANY_NAME'
3
+ maintainer_email 'YOUR_EMAIL'
4
+ license 'All rights reserved'
5
+ description 'Installs/Configures mno'
6
+ long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
7
+ version '0.10.0'
8
+
9
+ depends 'def'
@@ -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
@@ -0,0 +1,7 @@
1
+ name 'ghi'
2
+ maintainer 'YOUR_COMPANY_NAME'
3
+ maintainer_email 'YOUR_EMAIL'
4
+ license 'All rights reserved'
5
+ description 'Installs/Configures ghi'
6
+ long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
7
+ version '0.1.0'
@@ -0,0 +1,8 @@
1
+ #
2
+ # Cookbook Name:: ghi
3
+ # Recipe:: default
4
+ #
5
+ # Copyright 2014, YOUR_COMPANY_NAME
6
+ #
7
+ # All rights reserved - Do Not Redistribute
8
+ #
@@ -0,0 +1,13 @@
1
+ jkl CHANGELOG
2
+ =============
3
+
4
+ This file is used to list changes made in each version of the jkl cookbook.
5
+
6
+ 0.1.0
7
+ -----
8
+ - [your_name] - Initial release of jkl
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
+ jkl 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` - jkl needs toaster to brown your bagel.
15
+
16
+ Attributes
17
+ ----------
18
+ TODO: List your cookbook attributes here.
19
+
20
+ e.g.
21
+ #### jkl::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>['jkl']['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
+ #### jkl::default
40
+ TODO: Write usage instructions for each cookbook.
41
+
42
+ e.g.
43
+ Just include `jkl` in your node's `run_list`:
44
+
45
+ ```json
46
+ {
47
+ "name":"my_node",
48
+ "run_list": [
49
+ "recipe[jkl]"
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,10 @@
1
+ name 'jkl'
2
+ maintainer 'YOUR_COMPANY_NAME'
3
+ maintainer_email 'YOUR_EMAIL'
4
+ license 'All rights reserved'
5
+ description 'Installs/Configures jkl'
6
+ long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
7
+ version '0.1.0'
8
+
9
+ depends 'abc'
10
+ depends 'mno'