vagrant-opsworks 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +20 -0
  3. data/.simplecov +7 -0
  4. data/.travis.yml +13 -0
  5. data/Gemfile +44 -0
  6. data/Guardfile +17 -0
  7. data/Thorfile +59 -0
  8. data/integration/Gemfile +11 -0
  9. data/integration/Vagrantfile +8 -0
  10. data/lib/berkshelf-monkey-patch.rb +26 -0
  11. data/lib/vagrant-opsworks/action/checkout_cookbooks.rb +71 -0
  12. data/lib/vagrant-opsworks/action/configure_berks.rb +26 -0
  13. data/lib/vagrant-opsworks/action/configure_chef.rb +28 -0
  14. data/lib/vagrant-opsworks/action/create_roles.rb +69 -0
  15. data/lib/vagrant-opsworks/action/inject_boxes.rb +44 -0
  16. data/lib/vagrant-opsworks/action/merge_cookbooks.rb +27 -0
  17. data/lib/vagrant-opsworks/action/setup_environment.rb +34 -0
  18. data/lib/vagrant-opsworks/action.rb +51 -0
  19. data/lib/vagrant-opsworks/application.rb +26 -0
  20. data/lib/vagrant-opsworks/client/app.rb +50 -0
  21. data/lib/vagrant-opsworks/client/instance.rb +23 -0
  22. data/lib/vagrant-opsworks/client/layer.rb +39 -0
  23. data/lib/vagrant-opsworks/client/stack.rb +47 -0
  24. data/lib/vagrant-opsworks/client.rb +46 -0
  25. data/lib/vagrant-opsworks/client_old.rb +94 -0
  26. data/lib/vagrant-opsworks/config.rb +156 -0
  27. data/lib/vagrant-opsworks/custom_json.rb +22 -0
  28. data/lib/vagrant-opsworks/env.rb +19 -0
  29. data/lib/vagrant-opsworks/env_old.rb +162 -0
  30. data/lib/vagrant-opsworks/errors.rb +13 -0
  31. data/lib/vagrant-opsworks/loader/client.rb +19 -0
  32. data/lib/vagrant-opsworks/loader/instances.rb +78 -0
  33. data/lib/vagrant-opsworks/loader/stack.rb +27 -0
  34. data/lib/vagrant-opsworks/loader.rb +24 -0
  35. data/lib/vagrant-opsworks/plugin.rb +32 -0
  36. data/lib/vagrant-opsworks/stack/app.rb +0 -0
  37. data/lib/vagrant-opsworks/stack/instance.rb +62 -0
  38. data/lib/vagrant-opsworks/stack/stack.rb +84 -0
  39. data/lib/vagrant-opsworks/stack.rb +20 -0
  40. data/lib/vagrant-opsworks/util/configuration_builder.rb +44 -0
  41. data/lib/vagrant-opsworks/util/configuration_hash.rb +27 -0
  42. data/lib/vagrant-opsworks/util/dummy_configuration.rb +33 -0
  43. data/lib/vagrant-opsworks/util/env_helpers.rb +44 -0
  44. data/lib/vagrant-opsworks/version.rb +5 -0
  45. data/lib/vagrant-opsworks.rb +24 -0
  46. data/locales/en.yml +13 -0
  47. data/provisioning/client.yml +16 -0
  48. data/provisioning/install-agent.sh +75 -0
  49. data/spec/spec_helper.rb +23 -0
  50. data/spec/unit/vagrant-opsworks/action/create_roles_spec.rb +5 -0
  51. data/spec/unit/vagrant-opsworks/config_spec.rb +109 -0
  52. data/vagrant-opsworks.gemspec +34 -0
  53. metadata +199 -0
@@ -0,0 +1,34 @@
1
+ # -*- mode: ruby; encoding: utf-8 -*-
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $:.unshift lib unless $:.include?(lib)
4
+ require 'vagrant-opsworks/version'
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = 'vagrant-opsworks'
8
+ s.version = VagrantPlugins::OpsWorks::VERSION
9
+ s.platform = Gem::Platform::RUBY
10
+ s.authors = ['Steve Buzonas']
11
+ s.email = ['steve@fancyguy.com']
12
+ s.description = %q{A Vagrant plugin to provision a stack configured in Amazon OpsWorks}
13
+ s.summary = s.description
14
+ s.homepage = 'http://github.com/fancyguy/vagrant-opsworks.git'
15
+ s.license = 'MIT'
16
+
17
+ s.files = `git ls-files`.split($/)
18
+ s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
+ s.test_files = s.files.grep(%r{^(test|spec|features)/})
20
+ s.require_paths = ['lib']
21
+ s.required_ruby_version = '>= 1.9.1'
22
+
23
+ s.post_install_message = "In order to use the Vagrant-OpsWorks plugin, you must have configured AWS credentials.\n" +
24
+ "Instructions on providing these can be found at http://docs.aws.amazon.com/AWSSdkDocsRuby/latest//DeveloperGuide/ruby-dg-setup.html#set-up-creds"
25
+
26
+ s.add_dependency 'aws-sdk'
27
+ s.add_dependency 'git'
28
+ s.add_dependency 'vagrant-berkshelf'
29
+
30
+ s.add_development_dependency 'spork', '~> 0.9'
31
+ s.add_development_dependency 'rspec', '~> 2.13'
32
+ s.add_development_dependency 'thor', '~> 0.18'
33
+ s.add_development_dependency 'simplecov'
34
+ end
metadata ADDED
@@ -0,0 +1,199 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: vagrant-opsworks
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.5
5
+ platform: ruby
6
+ authors:
7
+ - Steve Buzonas
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-10-19 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: aws-sdk
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: git
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: vagrant-berkshelf
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: spork
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '0.9'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '0.9'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '2.13'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '2.13'
83
+ - !ruby/object:Gem::Dependency
84
+ name: thor
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '0.18'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '0.18'
97
+ - !ruby/object:Gem::Dependency
98
+ name: simplecov
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ description: A Vagrant plugin to provision a stack configured in Amazon OpsWorks
112
+ email:
113
+ - steve@fancyguy.com
114
+ executables: []
115
+ extensions: []
116
+ extra_rdoc_files: []
117
+ files:
118
+ - ".gitignore"
119
+ - ".simplecov"
120
+ - ".travis.yml"
121
+ - Gemfile
122
+ - Guardfile
123
+ - Thorfile
124
+ - integration/Gemfile
125
+ - integration/Vagrantfile
126
+ - lib/berkshelf-monkey-patch.rb
127
+ - lib/vagrant-opsworks.rb
128
+ - lib/vagrant-opsworks/action.rb
129
+ - lib/vagrant-opsworks/action/checkout_cookbooks.rb
130
+ - lib/vagrant-opsworks/action/configure_berks.rb
131
+ - lib/vagrant-opsworks/action/configure_chef.rb
132
+ - lib/vagrant-opsworks/action/create_roles.rb
133
+ - lib/vagrant-opsworks/action/inject_boxes.rb
134
+ - lib/vagrant-opsworks/action/merge_cookbooks.rb
135
+ - lib/vagrant-opsworks/action/setup_environment.rb
136
+ - lib/vagrant-opsworks/application.rb
137
+ - lib/vagrant-opsworks/client.rb
138
+ - lib/vagrant-opsworks/client/app.rb
139
+ - lib/vagrant-opsworks/client/instance.rb
140
+ - lib/vagrant-opsworks/client/layer.rb
141
+ - lib/vagrant-opsworks/client/stack.rb
142
+ - lib/vagrant-opsworks/client_old.rb
143
+ - lib/vagrant-opsworks/config.rb
144
+ - lib/vagrant-opsworks/custom_json.rb
145
+ - lib/vagrant-opsworks/env.rb
146
+ - lib/vagrant-opsworks/env_old.rb
147
+ - lib/vagrant-opsworks/errors.rb
148
+ - lib/vagrant-opsworks/loader.rb
149
+ - lib/vagrant-opsworks/loader/client.rb
150
+ - lib/vagrant-opsworks/loader/instances.rb
151
+ - lib/vagrant-opsworks/loader/stack.rb
152
+ - lib/vagrant-opsworks/plugin.rb
153
+ - lib/vagrant-opsworks/stack.rb
154
+ - lib/vagrant-opsworks/stack/app.rb
155
+ - lib/vagrant-opsworks/stack/instance.rb
156
+ - lib/vagrant-opsworks/stack/stack.rb
157
+ - lib/vagrant-opsworks/util/configuration_builder.rb
158
+ - lib/vagrant-opsworks/util/configuration_hash.rb
159
+ - lib/vagrant-opsworks/util/dummy_configuration.rb
160
+ - lib/vagrant-opsworks/util/env_helpers.rb
161
+ - lib/vagrant-opsworks/version.rb
162
+ - locales/en.yml
163
+ - provisioning/client.yml
164
+ - provisioning/install-agent.sh
165
+ - spec/spec_helper.rb
166
+ - spec/unit/vagrant-opsworks/action/create_roles_spec.rb
167
+ - spec/unit/vagrant-opsworks/config_spec.rb
168
+ - vagrant-opsworks.gemspec
169
+ homepage: http://github.com/fancyguy/vagrant-opsworks.git
170
+ licenses:
171
+ - MIT
172
+ metadata: {}
173
+ post_install_message: |-
174
+ In order to use the Vagrant-OpsWorks plugin, you must have configured AWS credentials.
175
+ Instructions on providing these can be found at http://docs.aws.amazon.com/AWSSdkDocsRuby/latest//DeveloperGuide/ruby-dg-setup.html#set-up-creds
176
+ rdoc_options: []
177
+ require_paths:
178
+ - lib
179
+ required_ruby_version: !ruby/object:Gem::Requirement
180
+ requirements:
181
+ - - ">="
182
+ - !ruby/object:Gem::Version
183
+ version: 1.9.1
184
+ required_rubygems_version: !ruby/object:Gem::Requirement
185
+ requirements:
186
+ - - ">="
187
+ - !ruby/object:Gem::Version
188
+ version: '0'
189
+ requirements: []
190
+ rubyforge_project:
191
+ rubygems_version: 2.4.2
192
+ signing_key:
193
+ specification_version: 4
194
+ summary: A Vagrant plugin to provision a stack configured in Amazon OpsWorks
195
+ test_files:
196
+ - spec/spec_helper.rb
197
+ - spec/unit/vagrant-opsworks/action/create_roles_spec.rb
198
+ - spec/unit/vagrant-opsworks/config_spec.rb
199
+ has_rdoc: