wombat-cli 0.3.4 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +4 -0
  3. data/.travis.yml +27 -0
  4. data/CHANGELOG.md +15 -1
  5. data/Gemfile +3 -0
  6. data/README.md +2 -2
  7. data/Rakefile +25 -0
  8. data/bin/wombat +1 -1
  9. data/generator_files/cookbooks/automate/metadata.rb +1 -1
  10. data/generator_files/cookbooks/automate/recipes/update-users.rb +1 -1
  11. data/generator_files/cookbooks/chef_server/recipes/default.rb +24 -11
  12. data/generator_files/cookbooks/workstation/.kitchen.ec2.yml +2 -1
  13. data/generator_files/cookbooks/workstation/metadata.rb +1 -1
  14. data/generator_files/cookbooks/workstation/recipes/default.rb +1 -2
  15. data/generator_files/cookbooks/workstation/templates/default/ise_profile.ps1.erb +2 -2
  16. data/generator_files/cookbooks/workstation/test/integration/default/workstation_spec.rb +4 -4
  17. data/generator_files/packer/automate.json +129 -107
  18. data/generator_files/packer/build-node.json +134 -112
  19. data/generator_files/packer/chef-server.json +130 -108
  20. data/generator_files/packer/compliance.json +126 -104
  21. data/generator_files/packer/infranodes-windows.json +136 -97
  22. data/generator_files/packer/infranodes.json +127 -106
  23. data/generator_files/packer/workstation.json +134 -95
  24. data/generator_files/templates/arm.json.erb +576 -0
  25. data/generator_files/wombat.yml +6 -2
  26. data/lib/wombat/aws.rb +67 -0
  27. data/lib/wombat/build.rb +273 -184
  28. data/lib/wombat/cli.rb +182 -147
  29. data/lib/wombat/common.rb +228 -220
  30. data/lib/wombat/crypto.rb +65 -0
  31. data/lib/wombat/delete.rb +48 -18
  32. data/lib/wombat/deploy.rb +147 -34
  33. data/lib/wombat/init.rb +21 -19
  34. data/lib/wombat/latest.rb +27 -0
  35. data/lib/wombat/output.rb +31 -30
  36. data/lib/wombat/update.rb +13 -10
  37. data/lib/wombat/version.rb +1 -1
  38. data/spec/functional/common_spec.rb +26 -0
  39. data/spec/spec_helper.rb +103 -0
  40. data/spec/unit/common_spec.rb +116 -0
  41. data/wombat-cli.gemspec +2 -1
  42. metadata +36 -11
  43. /data/generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/files/{delivery.crt → automate.crt} +0 -0
  44. /data/generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/files/{delivery.key → automate.key} +0 -0
  45. /data/generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/files/{chef-server.crt → chef.crt} +0 -0
  46. /data/generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/files/{chef-server.key → chef.key} +0 -0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wombat-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andre Elizondo
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-12-08 00:00:00.000000000 Z
12
+ date: 2017-02-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -82,19 +82,33 @@ dependencies:
82
82
  - !ruby/object:Gem::Version
83
83
  version: '2.5'
84
84
  - !ruby/object:Gem::Dependency
85
- name: racker
85
+ name: azure_mgmt_resources
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
88
  - - "~>"
89
89
  - !ruby/object:Gem::Version
90
- version: '0.2'
90
+ version: '0.8'
91
91
  type: :runtime
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
95
  - - "~>"
96
96
  - !ruby/object:Gem::Version
97
- version: '0.2'
97
+ version: '0.8'
98
+ - !ruby/object:Gem::Dependency
99
+ name: azure_mgmt_storage
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - "~>"
103
+ - !ruby/object:Gem::Version
104
+ version: '0.8'
105
+ type: :runtime
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - "~>"
110
+ - !ruby/object:Gem::Version
111
+ version: '0.8'
98
112
  description: With a tough barrel-like body, short powerful legs, and long flat claws,
99
113
  the wombat walks with a shuffling gait but is extremely adept at tunneling
100
114
  email:
@@ -105,6 +119,7 @@ extensions: []
105
119
  extra_rdoc_files: []
106
120
  files:
107
121
  - ".gitignore"
122
+ - ".travis.yml"
108
123
  - CHANGELOG.md
109
124
  - DESIGN.md
110
125
  - Gemfile
@@ -258,12 +273,12 @@ files:
258
273
  - generator_files/cookbooks/workstation/templates/default/knife.rb.erb
259
274
  - generator_files/cookbooks/workstation/templates/default/master_preferences.json.erb
260
275
  - generator_files/cookbooks/workstation/templates/default/ssh_config.erb
261
- - generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/files/chef-server.crt
262
- - generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/files/chef-server.key
276
+ - generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/files/automate.crt
277
+ - generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/files/automate.key
278
+ - generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/files/chef.crt
279
+ - generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/files/chef.key
263
280
  - generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/files/compliance.crt
264
281
  - generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/files/compliance.key
265
- - generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/files/delivery.crt
266
- - generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/files/delivery.key
267
282
  - generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/files/private.pem
268
283
  - generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/files/public.pub
269
284
  - generator_files/cookbooks/workstation/test/fixtures/cookbooks/mock_data/metadata.rb
@@ -277,21 +292,28 @@ files:
277
292
  - generator_files/packer/infranodes-windows.json
278
293
  - generator_files/packer/infranodes.json
279
294
  - generator_files/packer/workstation.json
295
+ - generator_files/templates/arm.json.erb
280
296
  - generator_files/templates/bootstrap-aws.erb
281
297
  - generator_files/templates/cfn.json.erb
282
298
  - generator_files/wombat.yml
283
299
  - keys/.gitkeep
284
300
  - lib/wombat.rb
301
+ - lib/wombat/aws.rb
285
302
  - lib/wombat/build.rb
286
303
  - lib/wombat/cli.rb
287
304
  - lib/wombat/common.rb
305
+ - lib/wombat/crypto.rb
288
306
  - lib/wombat/delete.rb
289
307
  - lib/wombat/deploy.rb
290
308
  - lib/wombat/init.rb
309
+ - lib/wombat/latest.rb
291
310
  - lib/wombat/output.rb
292
311
  - lib/wombat/update.rb
293
312
  - lib/wombat/version.rb
294
313
  - logs/.gitkeep
314
+ - spec/functional/common_spec.rb
315
+ - spec/spec_helper.rb
316
+ - spec/unit/common_spec.rb
295
317
  - stacks/.gitkeep
296
318
  - terraform/README.md
297
319
  - terraform/templates/terraform.tfvars.erb
@@ -317,8 +339,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
317
339
  version: '0'
318
340
  requirements: []
319
341
  rubyforge_project:
320
- rubygems_version: 2.5.1
342
+ rubygems_version: 2.6.10
321
343
  signing_key:
322
344
  specification_version: 4
323
345
  summary: Make Chef demos delightful with Wombat
324
- test_files: []
346
+ test_files:
347
+ - spec/functional/common_spec.rb
348
+ - spec/spec_helper.rb
349
+ - spec/unit/common_spec.rb