stork 0.1.0.pre → 0.2.0.pre

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +3 -0
  3. data/.ruby-version +1 -1
  4. data/Gemfile.lock +7 -8
  5. data/README.md +521 -4
  6. data/bin/stork +19 -5
  7. data/bin/storkctl +39 -9
  8. data/box/Vagrantfile +41 -0
  9. data/box/bootstrap.sh +317 -0
  10. data/box/integration.sh +33 -0
  11. data/lib/stork/builder.rb +78 -24
  12. data/lib/stork/client/plugins/host_actions.rb +12 -0
  13. data/lib/stork/client/plugins/host_list.rb +1 -1
  14. data/lib/stork/client/plugins/host_reload.rb +16 -0
  15. data/lib/stork/client/plugins/host_show.rb +1 -1
  16. data/lib/stork/client/plugins/host_sync.rb +16 -0
  17. data/lib/stork/collections.rb +1 -0
  18. data/lib/stork/configuration.rb +51 -92
  19. data/lib/stork/database.rb +96 -0
  20. data/lib/stork/deploy/command.rb +8 -0
  21. data/lib/stork/deploy/install_script.rb +3 -5
  22. data/lib/stork/deploy/kickstart_binding.rb +4 -6
  23. data/lib/stork/deploy/section.rb +11 -7
  24. data/lib/stork/deploy/snippet_binding.rb +15 -10
  25. data/lib/stork/plugin.rb +24 -5
  26. data/lib/stork/pxe.rb +2 -2
  27. data/lib/stork/resource/base.rb +0 -2
  28. data/lib/stork/resource/delegator.rb +0 -2
  29. data/lib/stork/resource/host.rb +23 -23
  30. data/lib/stork/resource/logical_volume.rb +1 -1
  31. data/lib/stork/server/application.rb +75 -13
  32. data/lib/stork/server/control.rb +82 -21
  33. data/lib/stork/version.rb +1 -1
  34. data/lib/stork.rb +4 -3
  35. data/specs/builder_spec.rb +5 -1
  36. data/specs/configuration_spec.rb +16 -133
  37. data/specs/database_spec.rb +33 -0
  38. data/specs/deploy_snippet_binding_spec.rb +15 -0
  39. data/specs/kickstart_spec.rb +1 -0
  40. data/specs/pxe_spec.rb +2 -2
  41. data/specs/resource_host_spec.rb +121 -261
  42. data/specs/scripts/kssetup.sh +2 -2
  43. data/specs/server_spec.rb +46 -24
  44. data/specs/spec_helper.rb +3 -2
  45. data/specs/stork/bundles/hosts/example.org.rb +2 -1
  46. data/specs/stork/bundles/public/file.txt +5 -0
  47. data/specs/stork/config.rb +1 -0
  48. data/stork.gemspec +3 -1
  49. metadata +43 -4
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stork
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre
4
+ version: 0.2.0.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob Lyon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-06 00:00:00.000000000 Z
11
+ date: 2014-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sinatra
@@ -25,7 +25,7 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: thin
28
+ name: webrick
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '>='
@@ -80,6 +80,20 @@ dependencies:
80
80
  - - '>='
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: mixlib-config
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '>='
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: bundler
85
99
  requirement: !ruby/object:Gem::Requirement
@@ -108,6 +122,20 @@ dependencies:
108
122
  - - '>='
109
123
  - !ruby/object:Gem::Version
110
124
  version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: yard
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - '>='
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - '>='
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
111
139
  - !ruby/object:Gem::Dependency
112
140
  name: minitest
113
141
  requirement: !ruby/object:Gem::Requirement
@@ -212,12 +240,18 @@ files:
212
240
  - Rakefile
213
241
  - bin/stork
214
242
  - bin/storkctl
243
+ - box/Vagrantfile
244
+ - box/bootstrap.sh
245
+ - box/integration.sh
215
246
  - lib/stork.rb
216
247
  - lib/stork/builder.rb
248
+ - lib/stork/client/plugins/host_actions.rb
217
249
  - lib/stork/client/plugins/host_install.rb
218
250
  - lib/stork/client/plugins/host_list.rb
219
251
  - lib/stork/client/plugins/host_localboot.rb
252
+ - lib/stork/client/plugins/host_reload.rb
220
253
  - lib/stork/client/plugins/host_show.rb
254
+ - lib/stork/client/plugins/host_sync.rb
221
255
  - lib/stork/collection/base.rb
222
256
  - lib/stork/collection/chefs.rb
223
257
  - lib/stork/collection/distros.rb
@@ -228,6 +262,7 @@ files:
228
262
  - lib/stork/collection/templates.rb
229
263
  - lib/stork/collections.rb
230
264
  - lib/stork/configuration.rb
265
+ - lib/stork/database.rb
231
266
  - lib/stork/deploy/command.rb
232
267
  - lib/stork/deploy/install_script.rb
233
268
  - lib/stork/deploy/kickstart_binding.rb
@@ -259,6 +294,8 @@ files:
259
294
  - specs/builder_spec.rb
260
295
  - specs/collections_spec.rb
261
296
  - specs/configuration_spec.rb
297
+ - specs/database_spec.rb
298
+ - specs/deploy_snippet_binding_spec.rb
262
299
  - specs/keys/snakeoil-root.pem
263
300
  - specs/keys/snakeoil-validation.pem
264
301
  - specs/kickstart_spec.rb
@@ -289,6 +326,7 @@ files:
289
326
  - specs/stork/bundles/layouts/home.rb
290
327
  - specs/stork/bundles/networks/local.rb
291
328
  - specs/stork/bundles/networks/org.rb
329
+ - specs/stork/bundles/public/file.txt
292
330
  - specs/stork/bundles/snippets/authorized-keys.erb
293
331
  - specs/stork/bundles/snippets/chef-bootstrap.erb
294
332
  - specs/stork/bundles/snippets/chef-reconfigure.erb
@@ -322,8 +360,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
322
360
  version: 1.3.1
323
361
  requirements: []
324
362
  rubyforge_project:
325
- rubygems_version: 2.1.11
363
+ rubygems_version: 2.2.2
326
364
  signing_key:
327
365
  specification_version: 4
328
366
  summary: Autoinstallation and PXE management.
329
367
  test_files: []
368
+ has_rdoc: