inception-server 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.chef/knife.rb +4 -0
- data/.gitignore +21 -0
- data/.kitchen.yml +47 -0
- data/.rspec +3 -0
- data/.travis.yml +18 -0
- data/Berksfile +8 -0
- data/Berksfile.lock +9 -0
- data/ChangeLog.md +20 -0
- data/Gemfile +27 -0
- data/Guardfile +6 -0
- data/LICENSE.txt +22 -0
- data/README.md +126 -0
- data/Rakefile +66 -0
- data/TODO.md +25 -0
- data/bin/inception +8 -0
- data/bin/inception-server +8 -0
- data/config/ssh/kitchen-aws +23 -0
- data/cookbooks/bosh_inception/README.md +15 -0
- data/cookbooks/bosh_inception/attributes/default.rb +25 -0
- data/cookbooks/bosh_inception/files/default/Gemfile.cf +5 -0
- data/cookbooks/bosh_inception/files/default/Gemfile.micro +5 -0
- data/cookbooks/bosh_inception/metadata.rb +32 -0
- data/cookbooks/bosh_inception/recipes/default.rb +16 -0
- data/cookbooks/bosh_inception/recipes/install_bosh.rb +37 -0
- data/cookbooks/bosh_inception/recipes/install_ruby.rb +10 -0
- data/cookbooks/bosh_inception/recipes/mount_store_volume.rb +24 -0
- data/cookbooks/bosh_inception/recipes/packages.rb +23 -0
- data/cookbooks/bosh_inception/recipes/setup_dotfog.rb +29 -0
- data/cookbooks/bosh_inception/recipes/setup_git.rb +34 -0
- data/cookbooks/bosh_inception/recipes/useful_dirs.rb +13 -0
- data/inception-server.gemspec +43 -0
- data/lib/inception/cli.rb +141 -0
- data/lib/inception/cli_helpers/display.rb +26 -0
- data/lib/inception/cli_helpers/interactions.rb +15 -0
- data/lib/inception/cli_helpers/prepare_deploy_settings.rb +89 -0
- data/lib/inception/cli_helpers/provider.rb +14 -0
- data/lib/inception/cli_helpers/settings.rb +53 -0
- data/lib/inception/inception_server.rb +304 -0
- data/lib/inception/inception_server_cookbook.rb +90 -0
- data/lib/inception/next_deploy_actions.rb +20 -0
- data/lib/inception/providers/README.md +5 -0
- data/lib/inception/providers/clients/aws_provider_client.rb +144 -0
- data/lib/inception/providers/clients/fog_provider_client.rb +185 -0
- data/lib/inception/providers/clients/openstack_provider_client.rb +84 -0
- data/lib/inception/providers/constants/aws_constants.rb +25 -0
- data/lib/inception/providers/constants/openstack_constants.rb +12 -0
- data/lib/inception/providers.rb +28 -0
- data/lib/inception/version.rb +3 -0
- data/lib/inception.rb +9 -0
- data/nodes/.gitkeep +0 -0
- data/spec/assets/.gitkeep +0 -0
- data/spec/assets/gitconfig +5 -0
- data/spec/assets/settings/aws-before-server.yml +14 -0
- data/spec/assets/settings/aws-created-server.yml +31 -0
- data/spec/integration/.gitkeep +0 -0
- data/spec/integration/aws/aws_basic_spec.rb +38 -0
- data/spec/spec_helper.rb +50 -0
- data/spec/support/aws/aws_helpers.rb +73 -0
- data/spec/support/settings_helper.rb +20 -0
- data/spec/support/stdout_capture.rb +17 -0
- data/spec/unit/.gitkeep +0 -0
- data/spec/unit/cli_delete_spec.rb +39 -0
- data/spec/unit/cli_deploy_aws_spec.rb +83 -0
- data/spec/unit/cli_ssh_spec.rb +80 -0
- data/spec/unit/inception_server_cookbook_spec.rb +62 -0
- data/spec/unit/inception_server_spec.rb +58 -0
- data/spec/unit/providers/aws_spec.rb +198 -0
- data/test/integration/default/bats/discover_user.bash +2 -0
- data/test/integration/default/bats/dotfog.bats +11 -0
- data/test/integration/default/bats/install_ruby.bats +8 -0
- data/test/integration/default/bats/useful_dirs.bats +8 -0
- data/test/integration/default/bats/user.bats +9 -0
- data/test/integration/default/bats/verify_bosh.bats +18 -0
- data/test/integration/default/bats/verify_git.bats +18 -0
- metadata +361 -0
metadata
ADDED
@@ -0,0 +1,361 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: inception-server
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Dr Nic Williams
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-07-22 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: thor
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: highline
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: escape
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: json
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :runtime
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: readwritesettings
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ~>
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '3.0'
|
86
|
+
type: :runtime
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ~>
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '3.0'
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: fog
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
|
+
type: :runtime
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: cyoi
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: knife-solo
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
130
|
+
requirements:
|
131
|
+
- - ~>
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: 0.3.0.pre4
|
134
|
+
type: :runtime
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ~>
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: 0.3.0.pre4
|
142
|
+
- !ruby/object:Gem::Dependency
|
143
|
+
name: bundler
|
144
|
+
requirement: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
146
|
+
requirements:
|
147
|
+
- - ~>
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: '1.3'
|
150
|
+
type: :development
|
151
|
+
prerelease: false
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
154
|
+
requirements:
|
155
|
+
- - ~>
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: '1.3'
|
158
|
+
- !ruby/object:Gem::Dependency
|
159
|
+
name: rake
|
160
|
+
requirement: !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
162
|
+
requirements:
|
163
|
+
- - ! '>='
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '0'
|
166
|
+
type: :development
|
167
|
+
prerelease: false
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
none: false
|
170
|
+
requirements:
|
171
|
+
- - ! '>='
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
- !ruby/object:Gem::Dependency
|
175
|
+
name: rspec
|
176
|
+
requirement: !ruby/object:Gem::Requirement
|
177
|
+
none: false
|
178
|
+
requirements:
|
179
|
+
- - ! '>='
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
version: '0'
|
182
|
+
type: :development
|
183
|
+
prerelease: false
|
184
|
+
version_requirements: !ruby/object:Gem::Requirement
|
185
|
+
none: false
|
186
|
+
requirements:
|
187
|
+
- - ! '>='
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: '0'
|
190
|
+
- !ruby/object:Gem::Dependency
|
191
|
+
name: test-kitchen
|
192
|
+
requirement: !ruby/object:Gem::Requirement
|
193
|
+
none: false
|
194
|
+
requirements:
|
195
|
+
- - ~>
|
196
|
+
- !ruby/object:Gem::Version
|
197
|
+
version: 1.0.0.alpha.6
|
198
|
+
type: :development
|
199
|
+
prerelease: false
|
200
|
+
version_requirements: !ruby/object:Gem::Requirement
|
201
|
+
none: false
|
202
|
+
requirements:
|
203
|
+
- - ~>
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: 1.0.0.alpha.6
|
206
|
+
- !ruby/object:Gem::Dependency
|
207
|
+
name: berkshelf
|
208
|
+
requirement: !ruby/object:Gem::Requirement
|
209
|
+
none: false
|
210
|
+
requirements:
|
211
|
+
- - ! '>='
|
212
|
+
- !ruby/object:Gem::Version
|
213
|
+
version: '0'
|
214
|
+
type: :development
|
215
|
+
prerelease: false
|
216
|
+
version_requirements: !ruby/object:Gem::Requirement
|
217
|
+
none: false
|
218
|
+
requirements:
|
219
|
+
- - ! '>='
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: '0'
|
222
|
+
description: Create an inception server for Bosh & general inception of new universes
|
223
|
+
email:
|
224
|
+
- drnicwilliams@gmail.com
|
225
|
+
executables:
|
226
|
+
- inception
|
227
|
+
- inception-server
|
228
|
+
extensions: []
|
229
|
+
extra_rdoc_files: []
|
230
|
+
files:
|
231
|
+
- .chef/knife.rb
|
232
|
+
- .gitignore
|
233
|
+
- .kitchen.yml
|
234
|
+
- .rspec
|
235
|
+
- .travis.yml
|
236
|
+
- Berksfile
|
237
|
+
- Berksfile.lock
|
238
|
+
- ChangeLog.md
|
239
|
+
- Gemfile
|
240
|
+
- Guardfile
|
241
|
+
- LICENSE.txt
|
242
|
+
- README.md
|
243
|
+
- Rakefile
|
244
|
+
- TODO.md
|
245
|
+
- bin/inception
|
246
|
+
- bin/inception-server
|
247
|
+
- config/ssh/kitchen-aws
|
248
|
+
- cookbooks/bosh_inception/README.md
|
249
|
+
- cookbooks/bosh_inception/attributes/default.rb
|
250
|
+
- cookbooks/bosh_inception/files/default/Gemfile.cf
|
251
|
+
- cookbooks/bosh_inception/files/default/Gemfile.micro
|
252
|
+
- cookbooks/bosh_inception/metadata.rb
|
253
|
+
- cookbooks/bosh_inception/recipes/default.rb
|
254
|
+
- cookbooks/bosh_inception/recipes/install_bosh.rb
|
255
|
+
- cookbooks/bosh_inception/recipes/install_ruby.rb
|
256
|
+
- cookbooks/bosh_inception/recipes/mount_store_volume.rb
|
257
|
+
- cookbooks/bosh_inception/recipes/packages.rb
|
258
|
+
- cookbooks/bosh_inception/recipes/setup_dotfog.rb
|
259
|
+
- cookbooks/bosh_inception/recipes/setup_git.rb
|
260
|
+
- cookbooks/bosh_inception/recipes/useful_dirs.rb
|
261
|
+
- inception-server.gemspec
|
262
|
+
- lib/inception.rb
|
263
|
+
- lib/inception/cli.rb
|
264
|
+
- lib/inception/cli_helpers/display.rb
|
265
|
+
- lib/inception/cli_helpers/interactions.rb
|
266
|
+
- lib/inception/cli_helpers/prepare_deploy_settings.rb
|
267
|
+
- lib/inception/cli_helpers/provider.rb
|
268
|
+
- lib/inception/cli_helpers/settings.rb
|
269
|
+
- lib/inception/inception_server.rb
|
270
|
+
- lib/inception/inception_server_cookbook.rb
|
271
|
+
- lib/inception/next_deploy_actions.rb
|
272
|
+
- lib/inception/providers.rb
|
273
|
+
- lib/inception/providers/README.md
|
274
|
+
- lib/inception/providers/clients/aws_provider_client.rb
|
275
|
+
- lib/inception/providers/clients/fog_provider_client.rb
|
276
|
+
- lib/inception/providers/clients/openstack_provider_client.rb
|
277
|
+
- lib/inception/providers/constants/aws_constants.rb
|
278
|
+
- lib/inception/providers/constants/openstack_constants.rb
|
279
|
+
- lib/inception/version.rb
|
280
|
+
- nodes/.gitkeep
|
281
|
+
- spec/assets/.gitkeep
|
282
|
+
- spec/assets/gitconfig
|
283
|
+
- spec/assets/settings/aws-before-server.yml
|
284
|
+
- spec/assets/settings/aws-created-server.yml
|
285
|
+
- spec/integration/.gitkeep
|
286
|
+
- spec/integration/aws/aws_basic_spec.rb
|
287
|
+
- spec/spec_helper.rb
|
288
|
+
- spec/support/aws/aws_helpers.rb
|
289
|
+
- spec/support/settings_helper.rb
|
290
|
+
- spec/support/stdout_capture.rb
|
291
|
+
- spec/unit/.gitkeep
|
292
|
+
- spec/unit/cli_delete_spec.rb
|
293
|
+
- spec/unit/cli_deploy_aws_spec.rb
|
294
|
+
- spec/unit/cli_ssh_spec.rb
|
295
|
+
- spec/unit/inception_server_cookbook_spec.rb
|
296
|
+
- spec/unit/inception_server_spec.rb
|
297
|
+
- spec/unit/providers/aws_spec.rb
|
298
|
+
- test/integration/default/bats/discover_user.bash
|
299
|
+
- test/integration/default/bats/dotfog.bats
|
300
|
+
- test/integration/default/bats/install_ruby.bats
|
301
|
+
- test/integration/default/bats/useful_dirs.bats
|
302
|
+
- test/integration/default/bats/user.bats
|
303
|
+
- test/integration/default/bats/verify_bosh.bats
|
304
|
+
- test/integration/default/bats/verify_git.bats
|
305
|
+
homepage: ''
|
306
|
+
licenses:
|
307
|
+
- MIT
|
308
|
+
post_install_message:
|
309
|
+
rdoc_options: []
|
310
|
+
require_paths:
|
311
|
+
- lib
|
312
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
313
|
+
none: false
|
314
|
+
requirements:
|
315
|
+
- - ! '>='
|
316
|
+
- !ruby/object:Gem::Version
|
317
|
+
version: '0'
|
318
|
+
segments:
|
319
|
+
- 0
|
320
|
+
hash: 465411129762463025
|
321
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
322
|
+
none: false
|
323
|
+
requirements:
|
324
|
+
- - ! '>='
|
325
|
+
- !ruby/object:Gem::Version
|
326
|
+
version: '0'
|
327
|
+
segments:
|
328
|
+
- 0
|
329
|
+
hash: 465411129762463025
|
330
|
+
requirements: []
|
331
|
+
rubyforge_project:
|
332
|
+
rubygems_version: 1.8.25
|
333
|
+
signing_key:
|
334
|
+
specification_version: 3
|
335
|
+
summary: CLI, with chef recipes, for creating and preparing an inception server for
|
336
|
+
deploying/developing a Bosh universe.
|
337
|
+
test_files:
|
338
|
+
- spec/assets/.gitkeep
|
339
|
+
- spec/assets/gitconfig
|
340
|
+
- spec/assets/settings/aws-before-server.yml
|
341
|
+
- spec/assets/settings/aws-created-server.yml
|
342
|
+
- spec/integration/.gitkeep
|
343
|
+
- spec/integration/aws/aws_basic_spec.rb
|
344
|
+
- spec/spec_helper.rb
|
345
|
+
- spec/support/aws/aws_helpers.rb
|
346
|
+
- spec/support/settings_helper.rb
|
347
|
+
- spec/support/stdout_capture.rb
|
348
|
+
- spec/unit/.gitkeep
|
349
|
+
- spec/unit/cli_delete_spec.rb
|
350
|
+
- spec/unit/cli_deploy_aws_spec.rb
|
351
|
+
- spec/unit/cli_ssh_spec.rb
|
352
|
+
- spec/unit/inception_server_cookbook_spec.rb
|
353
|
+
- spec/unit/inception_server_spec.rb
|
354
|
+
- spec/unit/providers/aws_spec.rb
|
355
|
+
- test/integration/default/bats/discover_user.bash
|
356
|
+
- test/integration/default/bats/dotfog.bats
|
357
|
+
- test/integration/default/bats/install_ruby.bats
|
358
|
+
- test/integration/default/bats/useful_dirs.bats
|
359
|
+
- test/integration/default/bats/user.bats
|
360
|
+
- test/integration/default/bats/verify_bosh.bats
|
361
|
+
- test/integration/default/bats/verify_git.bats
|