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.
- data/.gitignore +8 -35
- data/.rspec +1 -0
- data/.rvmrc.template +2 -0
- data/.travis.yml +22 -0
- data/Gemfile +2 -15
- data/LICENSE +202 -201
- data/NOTICE +9 -0
- data/README.md +696 -92
- data/Rakefile +39 -25
- data/TODO.md +28 -0
- data/bin/cc-knife +32 -0
- data/bin/cucumber-chef +409 -79
- data/chef_repo/cookbooks/cucumber-chef/LICENSE +202 -0
- data/chef_repo/cookbooks/cucumber-chef/README.md +69 -0
- data/chef_repo/cookbooks/cucumber-chef/attributes/default.rb +27 -0
- data/chef_repo/cookbooks/cucumber-chef/metadata.rb +13 -0
- data/chef_repo/cookbooks/cucumber-chef/recipes/default.rb +23 -0
- data/chef_repo/cookbooks/cucumber-chef/recipes/lxc.rb +315 -0
- data/chef_repo/cookbooks/cucumber-chef/recipes/test_lab.rb +146 -0
- data/chef_repo/cookbooks/cucumber-chef/templates/default/db-168-192.erb +15 -0
- data/chef_repo/cookbooks/cucumber-chef/templates/default/db-test-lab.erb +15 -0
- data/chef_repo/cookbooks/cucumber-chef/templates/default/dhcpd-conf.erb +44 -0
- data/chef_repo/cookbooks/cucumber-chef/templates/default/gemrc.erb +10 -0
- data/{cookbooks/cucumber-chef/files/default/cucumber-net → chef_repo/cookbooks/cucumber-chef/templates/default/lxc-initializer-config.erb} +1 -1
- data/chef_repo/cookbooks/cucumber-chef/templates/default/lxc-install-chef.erb +3 -0
- data/chef_repo/cookbooks/cucumber-chef/templates/default/motd.erb +10 -0
- data/chef_repo/cookbooks/cucumber-chef/templates/default/named-conf-local.erb +25 -0
- data/{cookbooks/cucumber-chef/files/default/permissive-ssh-config → chef_repo/cookbooks/cucumber-chef/templates/default/ssh-config.erb} +3 -1
- data/chef_repo/roles/test_lab.rb +24 -0
- data/cucumber-chef.gemspec +50 -123
- data/examples/README.md +7 -0
- data/examples/users_add.feature +51 -0
- data/examples/users_auto_remove.feature +50 -0
- data/features/support/env.rb +3 -2
- data/lib/cucumber/chef/bootstrap.rb +94 -0
- data/lib/cucumber/chef/command.rb +78 -0
- data/lib/cucumber/chef/config.rb +143 -93
- data/lib/cucumber/chef/helpers/chef_client.rb +87 -0
- data/lib/cucumber/chef/helpers/chef_server.rb +90 -0
- data/lib/cucumber/chef/helpers/command.rb +57 -0
- data/lib/cucumber/chef/helpers/container.rb +154 -0
- data/lib/cucumber/chef/helpers/minitest.rb +35 -0
- data/lib/cucumber/chef/helpers/server.rb +81 -0
- data/lib/cucumber/chef/helpers/test_lab.rb +46 -0
- data/lib/cucumber/chef/helpers/utility.rb +73 -0
- data/lib/cucumber/chef/helpers.rb +56 -0
- data/lib/cucumber/chef/logger.rb +90 -0
- data/lib/cucumber/chef/provisioner.rb +275 -69
- data/lib/cucumber/chef/ssh.rb +190 -0
- data/lib/cucumber/chef/steps/chef_steps.rb +32 -0
- data/lib/cucumber/chef/steps/minitest_steps.rb +29 -0
- data/lib/cucumber/chef/steps/provision_steps.rb +60 -0
- data/lib/cucumber/chef/steps/ssh_steps.rb +95 -0
- data/lib/cucumber/chef/steps.rb +27 -0
- data/lib/cucumber/chef/tcp_socket.rb +83 -0
- data/lib/cucumber/chef/template.rb +57 -0
- data/lib/cucumber/chef/templates/bootstrap/ubuntu-precise-test-lab.erb +99 -0
- data/lib/cucumber/chef/templates/cucumber/env.rb +56 -0
- data/lib/cucumber/chef/templates/cucumber/example_feature.erb +49 -0
- data/lib/cucumber/chef/templates/cucumber/example_steps.erb +11 -0
- data/lib/cucumber/chef/templates/cucumber/readme-data_bags.erb +1 -0
- data/lib/cucumber/chef/templates/cucumber/readme-keys.erb +1 -0
- data/lib/cucumber/chef/templates/cucumber/readme-roles.erb +1 -0
- data/lib/cucumber/chef/templates/cucumber/readme.erb +18 -0
- data/lib/cucumber/chef/templates/cucumber-chef/config-rb.erb +33 -0
- data/lib/cucumber/chef/templates/cucumber-chef/cucumber-yml.erb +2 -0
- data/lib/cucumber/chef/templates/cucumber-chef/knife-rb.erb +18 -0
- data/lib/cucumber/chef/test_lab.rb +308 -52
- data/lib/cucumber/chef/test_runner.rb +86 -15
- data/lib/cucumber/chef/utility.rb +128 -0
- data/lib/cucumber/chef/version.rb +30 -1
- data/lib/cucumber/chef.rb +53 -20
- data/lib/cucumber-chef.rb +24 -1
- data/spec/cucumber/chef/config_spec.rb +144 -78
- data/spec/cucumber/chef/provisioner_spec.rb +60 -16
- data/spec/cucumber/chef/test_lab_spec.rb +62 -19
- data/spec/spec_helper.rb +30 -26
- data/todo.org +17 -0
- metadata +267 -163
- data/.document +0 -5
- data/VERSION +0 -1
- data/cookbooks/cucumber-chef/README.rdoc +0 -8
- data/cookbooks/cucumber-chef/files/default/add-git-identity +0 -2
- data/cookbooks/cucumber-chef/files/default/controller-first-boot +0 -1
- data/cookbooks/cucumber-chef/files/default/cucumber-private-key +0 -27
- data/cookbooks/cucumber-chef/files/default/cucumber-run_list +0 -1
- data/cookbooks/cucumber-chef/files/default/git-private-key +0 -27
- data/cookbooks/cucumber-chef/files/default/install-chef +0 -1
- data/cookbooks/cucumber-chef/files/default/lxc-controller-network-config +0 -5
- data/cookbooks/cucumber-chef/files/default/lxc-lucid-chef +0 -378
- data/cookbooks/cucumber-chef/metadata.rb +0 -6
- data/cookbooks/cucumber-chef/recipes/controller.rb +0 -51
- data/cookbooks/cucumber-chef/recipes/lxc.rb +0 -35
- data/cookbooks/cucumber-chef/recipes/test_lab.rb +0 -23
- data/cookbooks/cucumber-chef/recipes/testrunner.rb +0 -46
- data/cookbooks/cucumber-chef/roles/controller.rb +0 -7
- data/cookbooks/cucumber-chef/roles/test_lab_test.rb +0 -9
- data/cookbooks/cucumber-chef/templates/default/controller-client.erb +0 -5
- data/cookbooks/cucumber-chef/templates/default/lxc-lucid-chef +0 -385
- data/lib/cucumber/chef/handy.rb +0 -90
- data/lib/cucumber/chef/templates/controller.erb +0 -35
- data/lib/cucumber/chef/templates/env.rb +0 -16
- data/lib/cucumber/chef/templates/example_feature.erb +0 -11
- data/lib/cucumber/chef/templates/example_step.erb +0 -19
- data/lib/cucumber/chef/templates/readme.erb +0 -14
- data/lib/cucumber/chef/templates/ubuntu10.04-gems.erb +0 -43
- data/lib/cucumber/ec2_server_create.rb +0 -99
- 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
|
-
|
5
|
-
|
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
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
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.
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 0.10.10
|
24
23
|
type: :runtime
|
25
24
|
prerelease: false
|
26
|
-
version_requirements:
|
27
|
-
|
28
|
-
|
29
|
-
|
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:
|
35
|
+
requirements:
|
36
|
+
- - ~>
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: 1.2.0
|
35
39
|
type: :runtime
|
36
40
|
prerelease: false
|
37
|
-
version_requirements:
|
38
|
-
|
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:
|
65
|
+
requirement: !ruby/object:Gem::Requirement
|
41
66
|
none: false
|
42
|
-
requirements:
|
43
|
-
- -
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version:
|
67
|
+
requirements:
|
68
|
+
- - ~>
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: 1.3.1
|
46
71
|
type: :runtime
|
47
72
|
prerelease: false
|
48
|
-
version_requirements:
|
49
|
-
|
50
|
-
|
51
|
-
|
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:
|
83
|
+
requirements:
|
84
|
+
- - ~>
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: 2.0.5
|
57
87
|
type: :runtime
|
58
88
|
prerelease: false
|
59
|
-
version_requirements:
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
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:
|
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:
|
79
|
-
|
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:
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
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:
|
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:
|
101
|
-
|
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:
|
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:
|
112
|
-
|
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:
|
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:
|
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:
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
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:
|
137
|
-
|
138
|
-
|
139
|
-
|
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
|
-
|
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
|
-
-
|
226
|
+
- TODO.md
|
227
|
+
- bin/cc-knife
|
154
228
|
- bin/cucumber-chef
|
155
|
-
- cookbooks/cucumber-chef/
|
156
|
-
- cookbooks/cucumber-chef/
|
157
|
-
- cookbooks/cucumber-chef/
|
158
|
-
- cookbooks/cucumber-chef/
|
159
|
-
- cookbooks/cucumber-chef/
|
160
|
-
- cookbooks/cucumber-chef/
|
161
|
-
- cookbooks/cucumber-chef/
|
162
|
-
- cookbooks/cucumber-chef/
|
163
|
-
- cookbooks/cucumber-chef/
|
164
|
-
- cookbooks/cucumber-chef/
|
165
|
-
- cookbooks/cucumber-chef/
|
166
|
-
- cookbooks/cucumber-chef/
|
167
|
-
- cookbooks/cucumber-chef/
|
168
|
-
- cookbooks/cucumber-chef/
|
169
|
-
- cookbooks/cucumber-chef/
|
170
|
-
- cookbooks/cucumber-chef/
|
171
|
-
-
|
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/
|
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/
|
191
|
-
- lib/cucumber/chef/
|
192
|
-
- lib/cucumber/chef/
|
193
|
-
- lib/cucumber/chef/
|
194
|
-
- lib/cucumber/chef/
|
195
|
-
- lib/cucumber/chef/
|
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
|
-
-
|
205
|
-
|
206
|
-
|
207
|
-
|
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
|
-
|
220
|
-
|
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:
|
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.
|
324
|
+
rubygems_version: 1.8.24
|
233
325
|
signing_key:
|
234
326
|
specification_version: 3
|
235
|
-
summary:
|
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
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
1.0.3
|
@@ -1 +0,0 @@
|
|
1
|
-
{ "run_list": [ "recipe[cucumber-chef::testrunner]" ] }
|
@@ -1,27 +0,0 @@
|
|
1
|
-
-----BEGIN RSA PRIVATE KEY-----
|
2
|
-
MIIEpAIBA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qWTKbDYApoxd1YuyMg/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
|