cucumber-chef 1.0.3 → 2.0.0.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. data/.gitignore +8 -35
  2. data/.rspec +1 -0
  3. data/.rvmrc.template +2 -0
  4. data/.travis.yml +22 -0
  5. data/Gemfile +2 -15
  6. data/LICENSE +202 -201
  7. data/NOTICE +9 -0
  8. data/README.md +696 -92
  9. data/Rakefile +39 -25
  10. data/TODO.md +28 -0
  11. data/bin/cc-knife +32 -0
  12. data/bin/cucumber-chef +409 -79
  13. data/chef_repo/cookbooks/cucumber-chef/LICENSE +202 -0
  14. data/chef_repo/cookbooks/cucumber-chef/README.md +69 -0
  15. data/chef_repo/cookbooks/cucumber-chef/attributes/default.rb +27 -0
  16. data/chef_repo/cookbooks/cucumber-chef/metadata.rb +13 -0
  17. data/chef_repo/cookbooks/cucumber-chef/recipes/default.rb +23 -0
  18. data/chef_repo/cookbooks/cucumber-chef/recipes/lxc.rb +315 -0
  19. data/chef_repo/cookbooks/cucumber-chef/recipes/test_lab.rb +146 -0
  20. data/chef_repo/cookbooks/cucumber-chef/templates/default/db-168-192.erb +15 -0
  21. data/chef_repo/cookbooks/cucumber-chef/templates/default/db-test-lab.erb +15 -0
  22. data/chef_repo/cookbooks/cucumber-chef/templates/default/dhcpd-conf.erb +44 -0
  23. data/chef_repo/cookbooks/cucumber-chef/templates/default/gemrc.erb +10 -0
  24. data/{cookbooks/cucumber-chef/files/default/cucumber-net → chef_repo/cookbooks/cucumber-chef/templates/default/lxc-initializer-config.erb} +1 -1
  25. data/chef_repo/cookbooks/cucumber-chef/templates/default/lxc-install-chef.erb +3 -0
  26. data/chef_repo/cookbooks/cucumber-chef/templates/default/motd.erb +10 -0
  27. data/chef_repo/cookbooks/cucumber-chef/templates/default/named-conf-local.erb +25 -0
  28. data/{cookbooks/cucumber-chef/files/default/permissive-ssh-config → chef_repo/cookbooks/cucumber-chef/templates/default/ssh-config.erb} +3 -1
  29. data/chef_repo/roles/test_lab.rb +24 -0
  30. data/cucumber-chef.gemspec +50 -123
  31. data/examples/README.md +7 -0
  32. data/examples/users_add.feature +51 -0
  33. data/examples/users_auto_remove.feature +50 -0
  34. data/features/support/env.rb +3 -2
  35. data/lib/cucumber/chef/bootstrap.rb +94 -0
  36. data/lib/cucumber/chef/command.rb +78 -0
  37. data/lib/cucumber/chef/config.rb +143 -93
  38. data/lib/cucumber/chef/helpers/chef_client.rb +87 -0
  39. data/lib/cucumber/chef/helpers/chef_server.rb +90 -0
  40. data/lib/cucumber/chef/helpers/command.rb +57 -0
  41. data/lib/cucumber/chef/helpers/container.rb +154 -0
  42. data/lib/cucumber/chef/helpers/minitest.rb +35 -0
  43. data/lib/cucumber/chef/helpers/server.rb +81 -0
  44. data/lib/cucumber/chef/helpers/test_lab.rb +46 -0
  45. data/lib/cucumber/chef/helpers/utility.rb +73 -0
  46. data/lib/cucumber/chef/helpers.rb +56 -0
  47. data/lib/cucumber/chef/logger.rb +90 -0
  48. data/lib/cucumber/chef/provisioner.rb +275 -69
  49. data/lib/cucumber/chef/ssh.rb +190 -0
  50. data/lib/cucumber/chef/steps/chef_steps.rb +32 -0
  51. data/lib/cucumber/chef/steps/minitest_steps.rb +29 -0
  52. data/lib/cucumber/chef/steps/provision_steps.rb +60 -0
  53. data/lib/cucumber/chef/steps/ssh_steps.rb +95 -0
  54. data/lib/cucumber/chef/steps.rb +27 -0
  55. data/lib/cucumber/chef/tcp_socket.rb +83 -0
  56. data/lib/cucumber/chef/template.rb +57 -0
  57. data/lib/cucumber/chef/templates/bootstrap/ubuntu-precise-test-lab.erb +99 -0
  58. data/lib/cucumber/chef/templates/cucumber/env.rb +56 -0
  59. data/lib/cucumber/chef/templates/cucumber/example_feature.erb +49 -0
  60. data/lib/cucumber/chef/templates/cucumber/example_steps.erb +11 -0
  61. data/lib/cucumber/chef/templates/cucumber/readme-data_bags.erb +1 -0
  62. data/lib/cucumber/chef/templates/cucumber/readme-keys.erb +1 -0
  63. data/lib/cucumber/chef/templates/cucumber/readme-roles.erb +1 -0
  64. data/lib/cucumber/chef/templates/cucumber/readme.erb +18 -0
  65. data/lib/cucumber/chef/templates/cucumber-chef/config-rb.erb +33 -0
  66. data/lib/cucumber/chef/templates/cucumber-chef/cucumber-yml.erb +2 -0
  67. data/lib/cucumber/chef/templates/cucumber-chef/knife-rb.erb +18 -0
  68. data/lib/cucumber/chef/test_lab.rb +308 -52
  69. data/lib/cucumber/chef/test_runner.rb +86 -15
  70. data/lib/cucumber/chef/utility.rb +128 -0
  71. data/lib/cucumber/chef/version.rb +30 -1
  72. data/lib/cucumber/chef.rb +53 -20
  73. data/lib/cucumber-chef.rb +24 -1
  74. data/spec/cucumber/chef/config_spec.rb +144 -78
  75. data/spec/cucumber/chef/provisioner_spec.rb +60 -16
  76. data/spec/cucumber/chef/test_lab_spec.rb +62 -19
  77. data/spec/spec_helper.rb +30 -26
  78. data/todo.org +17 -0
  79. metadata +267 -163
  80. data/.document +0 -5
  81. data/VERSION +0 -1
  82. data/cookbooks/cucumber-chef/README.rdoc +0 -8
  83. data/cookbooks/cucumber-chef/files/default/add-git-identity +0 -2
  84. data/cookbooks/cucumber-chef/files/default/controller-first-boot +0 -1
  85. data/cookbooks/cucumber-chef/files/default/cucumber-private-key +0 -27
  86. data/cookbooks/cucumber-chef/files/default/cucumber-run_list +0 -1
  87. data/cookbooks/cucumber-chef/files/default/git-private-key +0 -27
  88. data/cookbooks/cucumber-chef/files/default/install-chef +0 -1
  89. data/cookbooks/cucumber-chef/files/default/lxc-controller-network-config +0 -5
  90. data/cookbooks/cucumber-chef/files/default/lxc-lucid-chef +0 -378
  91. data/cookbooks/cucumber-chef/metadata.rb +0 -6
  92. data/cookbooks/cucumber-chef/recipes/controller.rb +0 -51
  93. data/cookbooks/cucumber-chef/recipes/lxc.rb +0 -35
  94. data/cookbooks/cucumber-chef/recipes/test_lab.rb +0 -23
  95. data/cookbooks/cucumber-chef/recipes/testrunner.rb +0 -46
  96. data/cookbooks/cucumber-chef/roles/controller.rb +0 -7
  97. data/cookbooks/cucumber-chef/roles/test_lab_test.rb +0 -9
  98. data/cookbooks/cucumber-chef/templates/default/controller-client.erb +0 -5
  99. data/cookbooks/cucumber-chef/templates/default/lxc-lucid-chef +0 -385
  100. data/lib/cucumber/chef/handy.rb +0 -90
  101. data/lib/cucumber/chef/templates/controller.erb +0 -35
  102. data/lib/cucumber/chef/templates/env.rb +0 -16
  103. data/lib/cucumber/chef/templates/example_feature.erb +0 -11
  104. data/lib/cucumber/chef/templates/example_step.erb +0 -19
  105. data/lib/cucumber/chef/templates/readme.erb +0 -14
  106. data/lib/cucumber/chef/templates/ubuntu10.04-gems.erb +0 -43
  107. data/lib/cucumber/ec2_server_create.rb +0 -99
  108. data/website/website.html +0 -385
data/todo.org ADDED
@@ -0,0 +1,17 @@
1
+ * Ideas
2
+ ** TODO Vagrant LXC Basebox
3
+ ** TODO Various OS baseboxes
4
+ ** TODO Make it easy to use OSC server
5
+ ** TODO Make it easy to use chef-solo
6
+ ** TODO Provide a libvirt capability
7
+ ** DONE Go through the bugs
8
+ ** TODO Ship a release candidate
9
+ ** DONE Merge Zac's changes
10
+ ** DONE RC branch
11
+ ** TODO Write test for cucumber-chef ssh
12
+ ** TODO Write tests for the stuff pulled from cucumber-nagios
13
+ ** TODO Make recipes food-critic compliant
14
+ ** TODO Make recipes use chef-solo?
15
+ ** TODO Fork ubuntu ami to 'amy'
16
+ ** TODO Move from thor to mixlib cli?
17
+
metadata CHANGED
@@ -1,178 +1,252 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: cucumber-chef
3
- version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 1.0.3
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.0.0.pre
5
+ prerelease: 6
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Stephen Nelson-Smith
9
+ - Zachary Patten
9
10
  autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
12
-
13
- date: 2011-07-12 00:00:00 +01:00
14
- default_executable: cucumber-chef
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
17
- name: rake
18
- requirement: &id001 !ruby/object:Gem::Requirement
13
+ date: 2012-06-24 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: chef
17
+ requirement: !ruby/object:Gem::Requirement
19
18
  none: false
20
- requirements:
19
+ requirements:
21
20
  - - ~>
22
- - !ruby/object:Gem::Version
23
- version: 0.9.2
21
+ - !ruby/object:Gem::Version
22
+ version: 0.10.10
24
23
  type: :runtime
25
24
  prerelease: false
26
- version_requirements: *id001
27
- - !ruby/object:Gem::Dependency
28
- name: chef
29
- requirement: &id002 !ruby/object:Gem::Requirement
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ~>
29
+ - !ruby/object:Gem::Version
30
+ version: 0.10.10
31
+ - !ruby/object:Gem::Dependency
32
+ name: cucumber
33
+ requirement: !ruby/object:Gem::Requirement
30
34
  none: false
31
- requirements:
32
- - - ">="
33
- - !ruby/object:Gem::Version
34
- version: 0.10.2
35
+ requirements:
36
+ - - ~>
37
+ - !ruby/object:Gem::Version
38
+ version: 1.2.0
35
39
  type: :runtime
36
40
  prerelease: false
37
- version_requirements: *id002
38
- - !ruby/object:Gem::Dependency
41
+ version_requirements: !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ~>
45
+ - !ruby/object:Gem::Version
46
+ version: 1.2.0
47
+ - !ruby/object:Gem::Dependency
48
+ name: erubis
49
+ requirement: !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: 2.7.0
55
+ type: :runtime
56
+ prerelease: false
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ none: false
59
+ requirements:
60
+ - - ~>
61
+ - !ruby/object:Gem::Version
62
+ version: 2.7.0
63
+ - !ruby/object:Gem::Dependency
39
64
  name: fog
40
- requirement: &id003 !ruby/object:Gem::Requirement
65
+ requirement: !ruby/object:Gem::Requirement
41
66
  none: false
42
- requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
45
- version: "0"
67
+ requirements:
68
+ - - ~>
69
+ - !ruby/object:Gem::Version
70
+ version: 1.3.1
46
71
  type: :runtime
47
72
  prerelease: false
48
- version_requirements: *id003
49
- - !ruby/object:Gem::Dependency
50
- name: thor
51
- requirement: &id004 !ruby/object:Gem::Requirement
73
+ version_requirements: !ruby/object:Gem::Requirement
74
+ none: false
75
+ requirements:
76
+ - - ~>
77
+ - !ruby/object:Gem::Version
78
+ version: 1.3.1
79
+ - !ruby/object:Gem::Dependency
80
+ name: net-sftp
81
+ requirement: !ruby/object:Gem::Requirement
52
82
  none: false
53
- requirements:
54
- - - ">="
55
- - !ruby/object:Gem::Version
56
- version: "0"
83
+ requirements:
84
+ - - ~>
85
+ - !ruby/object:Gem::Version
86
+ version: 2.0.5
57
87
  type: :runtime
58
88
  prerelease: false
59
- version_requirements: *id004
60
- - !ruby/object:Gem::Dependency
61
- name: net-scp
62
- requirement: &id005 !ruby/object:Gem::Requirement
63
- none: false
64
- requirements:
65
- - - ">="
66
- - !ruby/object:Gem::Version
67
- version: "0"
89
+ version_requirements: !ruby/object:Gem::Requirement
90
+ none: false
91
+ requirements:
92
+ - - ~>
93
+ - !ruby/object:Gem::Version
94
+ version: 2.0.5
95
+ - !ruby/object:Gem::Dependency
96
+ name: net-ssh
97
+ requirement: !ruby/object:Gem::Requirement
98
+ none: false
99
+ requirements:
100
+ - - ~>
101
+ - !ruby/object:Gem::Version
102
+ version: 2.2.2
68
103
  type: :runtime
69
104
  prerelease: false
70
- version_requirements: *id005
71
- - !ruby/object:Gem::Dependency
72
- name: cucumber
73
- requirement: &id006 !ruby/object:Gem::Requirement
105
+ version_requirements: !ruby/object:Gem::Requirement
74
106
  none: false
75
- requirements:
76
- - - ">="
77
- - !ruby/object:Gem::Version
78
- version: "0"
79
- type: :development
107
+ requirements:
108
+ - - ~>
109
+ - !ruby/object:Gem::Version
110
+ version: 2.2.2
111
+ - !ruby/object:Gem::Dependency
112
+ name: mixlib-config
113
+ requirement: !ruby/object:Gem::Requirement
114
+ none: false
115
+ requirements:
116
+ - - ~>
117
+ - !ruby/object:Gem::Version
118
+ version: 1.1.2
119
+ type: :runtime
80
120
  prerelease: false
81
- version_requirements: *id006
82
- - !ruby/object:Gem::Dependency
83
- name: cucumber-nagios
84
- requirement: &id007 !ruby/object:Gem::Requirement
85
- none: false
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: "0"
90
- type: :development
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ none: false
123
+ requirements:
124
+ - - ~>
125
+ - !ruby/object:Gem::Version
126
+ version: 1.1.2
127
+ - !ruby/object:Gem::Dependency
128
+ name: thor
129
+ requirement: !ruby/object:Gem::Requirement
130
+ none: false
131
+ requirements:
132
+ - - ~>
133
+ - !ruby/object:Gem::Version
134
+ version: 0.15.2
135
+ type: :runtime
91
136
  prerelease: false
92
- version_requirements: *id007
93
- - !ruby/object:Gem::Dependency
94
- name: rspec
95
- requirement: &id008 !ruby/object:Gem::Requirement
137
+ version_requirements: !ruby/object:Gem::Requirement
96
138
  none: false
97
- requirements:
98
- - - ">="
99
- - !ruby/object:Gem::Version
100
- version: "0"
101
- type: :development
139
+ requirements:
140
+ - - ~>
141
+ - !ruby/object:Gem::Version
142
+ version: 0.15.2
143
+ - !ruby/object:Gem::Dependency
144
+ name: rake
145
+ requirement: !ruby/object:Gem::Requirement
146
+ none: false
147
+ requirements:
148
+ - - ~>
149
+ - !ruby/object:Gem::Version
150
+ version: 0.9.2
151
+ type: :runtime
102
152
  prerelease: false
103
- version_requirements: *id008
104
- - !ruby/object:Gem::Dependency
105
- name: bundler
106
- requirement: &id009 !ruby/object:Gem::Requirement
153
+ version_requirements: !ruby/object:Gem::Requirement
107
154
  none: false
108
- requirements:
155
+ requirements:
109
156
  - - ~>
110
- - !ruby/object:Gem::Version
111
- version: 1.0.0
112
- type: :development
157
+ - !ruby/object:Gem::Version
158
+ version: 0.9.2
159
+ - !ruby/object:Gem::Dependency
160
+ name: ubuntu_ami
161
+ requirement: !ruby/object:Gem::Requirement
162
+ none: false
163
+ requirements:
164
+ - - ~>
165
+ - !ruby/object:Gem::Version
166
+ version: 0.4.0
167
+ type: :runtime
113
168
  prerelease: false
114
- version_requirements: *id009
115
- - !ruby/object:Gem::Dependency
116
- name: jeweler
117
- requirement: &id010 !ruby/object:Gem::Requirement
169
+ version_requirements: !ruby/object:Gem::Requirement
118
170
  none: false
119
- requirements:
171
+ requirements:
120
172
  - - ~>
121
- - !ruby/object:Gem::Version
122
- version: 1.6.2
173
+ - !ruby/object:Gem::Version
174
+ version: 0.4.0
175
+ - !ruby/object:Gem::Dependency
176
+ name: rspec
177
+ requirement: !ruby/object:Gem::Requirement
178
+ none: false
179
+ requirements:
180
+ - - ~>
181
+ - !ruby/object:Gem::Version
182
+ version: 2.10.0
123
183
  type: :development
124
184
  prerelease: false
125
- version_requirements: *id010
126
- - !ruby/object:Gem::Dependency
127
- name: rcov
128
- requirement: &id011 !ruby/object:Gem::Requirement
129
- none: false
130
- requirements:
131
- - - ">="
132
- - !ruby/object:Gem::Version
133
- version: "0"
185
+ version_requirements: !ruby/object:Gem::Requirement
186
+ none: false
187
+ requirements:
188
+ - - ~>
189
+ - !ruby/object:Gem::Version
190
+ version: 2.10.0
191
+ - !ruby/object:Gem::Dependency
192
+ name: simplecov
193
+ requirement: !ruby/object:Gem::Requirement
194
+ none: false
195
+ requirements:
196
+ - - ~>
197
+ - !ruby/object:Gem::Version
198
+ version: 0.6.4
134
199
  type: :development
135
200
  prerelease: false
136
- version_requirements: *id011
137
- description: Framework for behaviour-drive infrastructure development.
138
- email: stephen@atalanta-systems.com
139
- executables:
201
+ version_requirements: !ruby/object:Gem::Requirement
202
+ none: false
203
+ requirements:
204
+ - - ~>
205
+ - !ruby/object:Gem::Version
206
+ version: 0.6.4
207
+ description: Framework for test-driven infrastructure development.
208
+ email:
209
+ - stephen@atalanta-systems.com
210
+ - zachary@jovelabs.com
211
+ executables:
212
+ - cc-knife
140
213
  - cucumber-chef
141
214
  extensions: []
142
-
143
- extra_rdoc_files:
144
- - LICENSE
145
- - README.md
146
- files:
147
- - .document
215
+ extra_rdoc_files: []
216
+ files:
148
217
  - .gitignore
218
+ - .rspec
219
+ - .rvmrc.template
220
+ - .travis.yml
149
221
  - Gemfile
150
222
  - LICENSE
223
+ - NOTICE
151
224
  - README.md
152
225
  - Rakefile
153
- - VERSION
226
+ - TODO.md
227
+ - bin/cc-knife
154
228
  - bin/cucumber-chef
155
- - cookbooks/cucumber-chef/README.rdoc
156
- - cookbooks/cucumber-chef/files/default/add-git-identity
157
- - cookbooks/cucumber-chef/files/default/controller-first-boot
158
- - cookbooks/cucumber-chef/files/default/cucumber-net
159
- - cookbooks/cucumber-chef/files/default/cucumber-private-key
160
- - cookbooks/cucumber-chef/files/default/cucumber-run_list
161
- - cookbooks/cucumber-chef/files/default/git-private-key
162
- - cookbooks/cucumber-chef/files/default/install-chef
163
- - cookbooks/cucumber-chef/files/default/lxc-controller-network-config
164
- - cookbooks/cucumber-chef/files/default/lxc-lucid-chef
165
- - cookbooks/cucumber-chef/files/default/permissive-ssh-config
166
- - cookbooks/cucumber-chef/metadata.rb
167
- - cookbooks/cucumber-chef/recipes/controller.rb
168
- - cookbooks/cucumber-chef/recipes/lxc.rb
169
- - cookbooks/cucumber-chef/recipes/test_lab.rb
170
- - cookbooks/cucumber-chef/recipes/testrunner.rb
171
- - cookbooks/cucumber-chef/roles/controller.rb
172
- - cookbooks/cucumber-chef/roles/test_lab_test.rb
173
- - cookbooks/cucumber-chef/templates/default/controller-client.erb
174
- - cookbooks/cucumber-chef/templates/default/lxc-lucid-chef
229
+ - chef_repo/cookbooks/cucumber-chef/LICENSE
230
+ - chef_repo/cookbooks/cucumber-chef/README.md
231
+ - chef_repo/cookbooks/cucumber-chef/attributes/default.rb
232
+ - chef_repo/cookbooks/cucumber-chef/metadata.rb
233
+ - chef_repo/cookbooks/cucumber-chef/recipes/default.rb
234
+ - chef_repo/cookbooks/cucumber-chef/recipes/lxc.rb
235
+ - chef_repo/cookbooks/cucumber-chef/recipes/test_lab.rb
236
+ - chef_repo/cookbooks/cucumber-chef/templates/default/db-168-192.erb
237
+ - chef_repo/cookbooks/cucumber-chef/templates/default/db-test-lab.erb
238
+ - chef_repo/cookbooks/cucumber-chef/templates/default/dhcpd-conf.erb
239
+ - chef_repo/cookbooks/cucumber-chef/templates/default/gemrc.erb
240
+ - chef_repo/cookbooks/cucumber-chef/templates/default/lxc-initializer-config.erb
241
+ - chef_repo/cookbooks/cucumber-chef/templates/default/lxc-install-chef.erb
242
+ - chef_repo/cookbooks/cucumber-chef/templates/default/motd.erb
243
+ - chef_repo/cookbooks/cucumber-chef/templates/default/named-conf-local.erb
244
+ - chef_repo/cookbooks/cucumber-chef/templates/default/ssh-config.erb
245
+ - chef_repo/roles/test_lab.rb
175
246
  - cucumber-chef.gemspec
247
+ - examples/README.md
248
+ - examples/users_add.feature
249
+ - examples/users_auto_remove.feature
176
250
  - features/installing.feature
177
251
  - features/steps/installing_steps.rb
178
252
  - features/steps/setup_steps.rb
@@ -184,54 +258,84 @@ files:
184
258
  - features/usage.feature
185
259
  - lib/cucumber-chef.rb
186
260
  - lib/cucumber/chef.rb
261
+ - lib/cucumber/chef/bootstrap.rb
262
+ - lib/cucumber/chef/command.rb
187
263
  - lib/cucumber/chef/config.rb
188
- - lib/cucumber/chef/handy.rb
264
+ - lib/cucumber/chef/helpers.rb
265
+ - lib/cucumber/chef/helpers/chef_client.rb
266
+ - lib/cucumber/chef/helpers/chef_server.rb
267
+ - lib/cucumber/chef/helpers/command.rb
268
+ - lib/cucumber/chef/helpers/container.rb
269
+ - lib/cucumber/chef/helpers/minitest.rb
270
+ - lib/cucumber/chef/helpers/server.rb
271
+ - lib/cucumber/chef/helpers/test_lab.rb
272
+ - lib/cucumber/chef/helpers/utility.rb
273
+ - lib/cucumber/chef/logger.rb
189
274
  - lib/cucumber/chef/provisioner.rb
190
- - lib/cucumber/chef/templates/controller.erb
191
- - lib/cucumber/chef/templates/env.rb
192
- - lib/cucumber/chef/templates/example_feature.erb
193
- - lib/cucumber/chef/templates/example_step.erb
194
- - lib/cucumber/chef/templates/readme.erb
195
- - lib/cucumber/chef/templates/ubuntu10.04-gems.erb
275
+ - lib/cucumber/chef/ssh.rb
276
+ - lib/cucumber/chef/steps.rb
277
+ - lib/cucumber/chef/steps/chef_steps.rb
278
+ - lib/cucumber/chef/steps/minitest_steps.rb
279
+ - lib/cucumber/chef/steps/provision_steps.rb
280
+ - lib/cucumber/chef/steps/ssh_steps.rb
281
+ - lib/cucumber/chef/tcp_socket.rb
282
+ - lib/cucumber/chef/template.rb
283
+ - lib/cucumber/chef/templates/bootstrap/ubuntu-precise-test-lab.erb
284
+ - lib/cucumber/chef/templates/cucumber-chef/config-rb.erb
285
+ - lib/cucumber/chef/templates/cucumber-chef/cucumber-yml.erb
286
+ - lib/cucumber/chef/templates/cucumber-chef/knife-rb.erb
287
+ - lib/cucumber/chef/templates/cucumber/env.rb
288
+ - lib/cucumber/chef/templates/cucumber/example_feature.erb
289
+ - lib/cucumber/chef/templates/cucumber/example_steps.erb
290
+ - lib/cucumber/chef/templates/cucumber/readme-data_bags.erb
291
+ - lib/cucumber/chef/templates/cucumber/readme-keys.erb
292
+ - lib/cucumber/chef/templates/cucumber/readme-roles.erb
293
+ - lib/cucumber/chef/templates/cucumber/readme.erb
196
294
  - lib/cucumber/chef/test_lab.rb
197
295
  - lib/cucumber/chef/test_runner.rb
296
+ - lib/cucumber/chef/utility.rb
198
297
  - lib/cucumber/chef/version.rb
199
- - lib/cucumber/ec2_server_create.rb
200
298
  - spec/cucumber/chef/config_spec.rb
201
299
  - spec/cucumber/chef/provisioner_spec.rb
202
300
  - spec/cucumber/chef/test_lab_spec.rb
203
301
  - spec/spec_helper.rb
204
- - website/website.html
205
- has_rdoc: true
206
- homepage: http://cucumber-chef.org
207
- licenses:
208
- - Apache v2
302
+ - todo.org
303
+ homepage: http://www.cucumber-chef.org
304
+ licenses:
305
+ - Apache 2.0
209
306
  post_install_message:
210
307
  rdoc_options: []
211
-
212
- require_paths:
308
+ require_paths:
213
309
  - lib
214
- required_ruby_version: !ruby/object:Gem::Requirement
310
+ required_ruby_version: !ruby/object:Gem::Requirement
215
311
  none: false
216
- requirements:
217
- - - ">="
218
- - !ruby/object:Gem::Version
219
- hash: -2659917113260781265
220
- segments:
221
- - 0
222
- version: "0"
223
- required_rubygems_version: !ruby/object:Gem::Requirement
312
+ requirements:
313
+ - - ! '>='
314
+ - !ruby/object:Gem::Version
315
+ version: 1.8.7
316
+ required_rubygems_version: !ruby/object:Gem::Requirement
224
317
  none: false
225
- requirements:
226
- - - ">="
227
- - !ruby/object:Gem::Version
228
- version: "0"
318
+ requirements:
319
+ - - ! '>='
320
+ - !ruby/object:Gem::Version
321
+ version: 1.3.6
229
322
  requirements: []
230
-
231
323
  rubyforge_project:
232
- rubygems_version: 1.6.2
324
+ rubygems_version: 1.8.24
233
325
  signing_key:
234
326
  specification_version: 3
235
- summary: Tests Chef-built infrastructure
236
- test_files: []
237
-
327
+ summary: Test Driven Infrastructure
328
+ test_files:
329
+ - features/installing.feature
330
+ - features/steps/installing_steps.rb
331
+ - features/steps/setup_steps.rb
332
+ - features/steps/upload_steps.rb
333
+ - features/steps/usage_steps.rb
334
+ - features/support/env.rb
335
+ - features/support/filetools.rb
336
+ - features/support/silent_system.rb
337
+ - features/usage.feature
338
+ - spec/cucumber/chef/config_spec.rb
339
+ - spec/cucumber/chef/provisioner_spec.rb
340
+ - spec/cucumber/chef/test_lab_spec.rb
341
+ - spec/spec_helper.rb
data/.document DELETED
@@ -1,5 +0,0 @@
1
- lib/**/*.rb
2
- bin/*
3
- -
4
- features/**/*.feature
5
- LICENSE.txt
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 1.0.3
@@ -1,8 +0,0 @@
1
- = DESCRIPTION:
2
-
3
- = REQUIREMENTS:
4
-
5
- = ATTRIBUTES:
6
-
7
- = USAGE:
8
-
@@ -1,2 +0,0 @@
1
- eval $(ssh-agent) > /dev/null 2>&1
2
- ssh-add /root/.ssh/git-key.rsa > /dev/null 2>&1
@@ -1 +0,0 @@
1
- { "run_list": [ "recipe[cucumber-chef::testrunner]" ] }
@@ -1,27 +0,0 @@
1
- -----BEGIN RSA PRIVATE KEY-----
2
- MIIEpAIBAAKCAQEAzj2O8BxvLn1Q7vUTiyFdtle9SeataEF//+651mXTV8WdKuXG
3
- RgvIKZPu+ZnTsqnDoR+pwMRFf95hDPHScpdYj2WVY1cN2e6xEKEsz3xcKdhaTuAO
4
- Bd47J9wu6Nmgr1aZ/2/AWTrLEOMxUVVp/bzeSFzfHR2bctfKCKzMUCLGZLEGn0Yv
5
- 5Qbk56Vr9A5jUJcKgCodWOpTcPlf+kKzxejgt/wHRZTRrJIOyx5Zhddim10/sZZ8
6
- ct9+WgBwhIL2fUHrsAb1wjxKpQCOYoxHuRSFnv4zrFzblI737TmQIHkkb9g08z3q
7
- IJLLiLKgGNXP2wclA37ctGfqwfJWj9FA9nI9iQIBIwKCAQEAnxmLhgdOdFILO/7j
8
- MNCYv91I4TzsK9rB1A/ucjFLQ7WzwgG2NgkWwP0XcBeUrmW0K9aY5Smx9O1gz3i4
9
- ScU1sHLvlcbQK8bDG3UFT5py+7WHfqzXniB2xvpQEraDRW6xUAXARNWVViubEtt9
10
- pnvBawXQsA+Gi8sJkanfcQTiMGnp+FJi2Uj27v9GFg1ipmwOKB1D0mRD6NzC8Q3O
11
- DHgsSdW5E/wB+ENhDr9w5NPTt9RDheZIGLSARSjGBcT9UWVDoIVjmphAh31pDJSn
12
- 0dZ3upwFB13hSC1FK0qvDgg02QQQ8hPuABDqya+MiWlMkeyI+UXtdtCbYHnQ6H8V
13
- NHK1CwKBgQD95lcxo5A/dR4X/CXlMJPbPioMAm+4RMCSDAlvHxp5KR+1pXVQOWBm
14
- L4LFVj4A+20fDlAXawoIy9mmoFGsBrE5du2XcQ6AHINvapljC343FXx3q6AXBz72
15
- 4/rqmGgcmZK017fQo3FInuDj8Ukk7Url90UcBpe53DSzID+FzCG/uQKBgQDP8ktO
16
- tgUZfxZ921JmiqaFM+0YPER8B9hDAZkmlqRnCTkMYEqbV0wX1FeQEHPT6oejLpck
17
- BEDPR3aswETlpMGTcn9rbFV24lXPrsBp8uiW43Udx8fP7WEsHPpHWW6wXiPI9K6i
18
- mX1cCkz8fue5cvHsTdWf0Wxw9ubW/9CMtus0UQKBgQDD3ZO4lB7R3gFFs+K4Hijq
19
- 9XDksWwgb409dv/2ovcqREupYmHQLEMNABRsWHj5cYAQpKQvUpK2VBzuQSkPrWQl
20
- A/kdDhKAFf7+LamG65vhWbfKCA3InzCSkpz+HcyoWTaow6sOqfhN9ugATGugJMTA
21
- B+TbGwdU3RK2EZAWwgtoAwKBgQDKAVB4WQxEp1etdfhGWs2l9+2ig7A9+P338uyL
22
- 4suXSsm0QEh5pUKazkZusOWMCGaBQzO8lmrX/Edl/JqzMlWlLWXWEXeYDxGH65ZY
23
- Sw3UZ+4c7fVNpMTLxGDXmLSrVCLDNtWIAtGMnErJZVYh3WAKH7mT8ALxZOA+khsM
24
- WevMawKBgQDOgKPOo2885JCTGQupJAqo1qnsU5nj6nfSCz9+iBH+k0o7LSbZ0gQ6
25
- WXtyMOU/NcT3ij/A94DsNYUtiv0dIA3tICxSRsaY9ZLXGu2jCxtkYijrF8PenLyy
26
- mZfWUPbwtmWIElqYoxylQJfHUyhFOJIHkGbqtV435eCD0a3yFiJovw==
27
- -----END RSA PRIVATE KEY-----
@@ -1 +0,0 @@
1
- { "run_list": [ "role[base]" ] }
@@ -1,27 +0,0 @@
1
- -----BEGIN RSA PRIVATE KEY-----
2
- MIIEpQIBAAKCAQEAw+/yvusYqKXdiVKLYQ/N29ychOWITsPoicZWM2K8ksPnC8v6
3
- s8sKZv3jiqe2Iyw/tHVDa+hYyJ9IiiScXWrdy7KPAOAeeCtaW+dfTydrohlV1ziH
4
- n3ksrCtCcPw1/qftOVGHy+kuD09ukB5Oi/fa0BUd/IK9+yyxOPk9QRfyYxeleaQ8
5
- NHUuTVATHjGUh4aiDWwEn6jiqX4uw5/o88rkuYcWQT4UcgoqL2qr6FQ9vuB2YUv/
6
- 41kJVnRoY/Qf9AcaJ1496acOWlTAEVSaV1cipDP5O81KFUCv+PjMsGz6okW0uHVm
7
- n3TAIpYdxt+dEJNMbZI68JPyOjUOYEdSHNwnEQIDAQABAoIBAE9AYqMuXE76p9y/
8
- cnjT96QSW4y1eqjBPPFdM8idC0Eh0/ZFjyXh3ldCIiMXKuiXIT1QoPCojiC3rJOT
9
- s1tlukiF9KmZ/TkF8Ap0T2youTRbowjmaJTsYlFRPhKNMRnLunwQqiikLGks67+H
10
- QqYCnpLDt9lG2KkbrqMozMnjcbr6RDAkKYbVX9GmCX7Z6NBAf0FsSckPruSP92nm
11
- jTuQT9EPovyqDA9WYDjuF1q0J329M3PCsIuRUvST9P2PoyCOv3MiJLQIbemSOKUz
12
- af9sdl0KS00g8X+426Cw2AcW7eKkadNZ9TX/gdXxTStvNtLkl2dzY9Wj6nUAHW1k
13
- 8PvJ77ECgYEA6cDYjjsBsu7X5VFXa1caR+L3PTHYdfsLHFrPSlfV1t3bRpiyJcjJ
14
- CqQDxEqgNXDhkm6fPM22h/ayq62ps0Z5k7q4OG+chVuOCdXKbMHahGh/ENcoZVEu
15
- 6DR+TsgKIdGcR34A0j2BZGCJi/+Xfl7tEL5ADpUh/98Kq1jPyVrmn48CgYEA1pXB
16
- RaUYGMGnKTu5wPHoUfUwpMPUIil/H+lu7tyR75kAVTLoowyWOqF51KQe3ITOAxzq
17
- S+O+37p4XSpx0gCM3koFUqNdOQz9n0Devx0hjN+4/87zeuADw5ScjnElVruzxmNn
18
- teAIEM1WXGxrrRoSTBok5+8NWogu4hFy/dZxf18CgYEAtiKuWjy9+SdDkAoOXLQU
19
- 5TiDPups6JkAskpLxHimRXK+3cYy4WAOzjy4NqWTKbDYApoxd1YuyMg/taduWCMs
20
- riBKVKcaxYpuJVmxDYcK9irZ/0w2zKMyMnpchJQ32NwTsl0K1MZZ4NWbtzsjVrMu
21
- cuJa1UH8qPuou5RK63DpzB8CgYEAmNlPNCanBWtbgLl0VQV7MHXwUkzTXAom7To/
22
- tJEUupBHdmiu4QVkNRs0Rs0o1ncar4j3M1tkaMTQW7ySGr4dmXEsXXLUQoEIX1m7
23
- 0HIVpdzuT/i/4jSTOcsvwR7DNAa7xYKlKx4LYLyC2Y65HDJH+kFdLIBRCL2cd5dq
24
- S3lmmw0CgYEA5qc+ZK2fqkmJ8DaxnSxVfrAr3ex7sQdIuXxavqYhyZnKfxxuvOWS
25
- DopQg/uF07lPdrGJC7FIG9bHbN3vvIZl4Ztnu+aAAa0EhX2dfQKpe33v/JkbbzLF
26
- ua9FnGX910pMFqlPxEkdYywhBuh2j7xydqOjTOD4d2ZeaLxw6q68nUo=
27
- -----END RSA PRIVATE KEY-----
@@ -1 +0,0 @@
1
- /usr/bin/apt-get update && /usr/bin/apt-get --assume-yes --allow-unauthenticated install ruby1.9.1p180 && /usr/local/bin/gem install chef --no-ri --no-rdoc
@@ -1,5 +0,0 @@
1
- lxc.network.type = veth
2
- lxc.network.flags = up
3
- lxc.network.link = br0
4
- lxc.network.name = eth0
5
- lxc.network.ipv4 = 192.168.20.10/24