vagrant-opsworks 0.1.0 → 0.1.1
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.
- checksums.yaml +4 -4
- data/.travis.yml +24 -4
- data/Gemfile +10 -8
- data/README.md +40 -0
- data/docs/basic-example.md +0 -0
- data/lib/vagrant-opsworks.rb +0 -6
- data/lib/vagrant-opsworks/config.rb +1 -1
- data/lib/vagrant-opsworks/version.rb +1 -1
- data/vagrant-opsworks.gemspec +1 -1
- metadata +6 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89e1eef1e81b7aac4a586c5d8ea6de9ec9b7e7af
|
4
|
+
data.tar.gz: ef482d8f01f851b40a024447ce046f9744011b87
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d2b1814af65298643b56b6c989d399369b228a0d734847dc05ed349e8ff235c76312bba4644fecb26efe1c6558928110659bea28ba7f4cc584725bafc6b0047
|
7
|
+
data.tar.gz: b2557ac84ac1a261d250970e42eb19293f4890143edc96879bcf253f5408c0258559bc1f0a39fca02e60dbf334690674fcc3db1c1efea3ad01fa26022ab666a8
|
data/.travis.yml
CHANGED
@@ -1,9 +1,29 @@
|
|
1
1
|
language: ruby
|
2
|
-
|
3
|
-
|
4
|
-
-
|
5
|
-
|
2
|
+
|
3
|
+
before_install:
|
4
|
+
- rvm @global do gem uninstall bundler --all --executables
|
5
|
+
- gem uninstall bundler --all --executables
|
6
|
+
- gem install bundler --version '~> 1.5.2'
|
7
|
+
- bundle --version
|
8
|
+
bundler_args: --without=guard
|
6
9
|
script: bundle exec thor spec:ci
|
10
|
+
|
11
|
+
rvm: 2.0.0
|
12
|
+
env:
|
13
|
+
- VAGRANT_VERSION=v1.6.5 BERKSHELF_VERSION=v3.0.1
|
14
|
+
- VAGRANT_VERSION=v1.6.5 BERKSHELF_VERSION=v3.0.0
|
15
|
+
|
16
|
+
matrix:
|
17
|
+
fast_finish: true
|
18
|
+
include:
|
19
|
+
- env: VAGRANT_VERSION=v1.5.4 BERKSHELF_VERSION=v3.0.1
|
20
|
+
- env: VAGRANT_VERSION=v1.5.4 BERKSHELF_VERSION=v3.0.0
|
21
|
+
- env: VAGRANT_VERSION=master BERKSHELF_VERSION=v3.0.1
|
22
|
+
- env: VAGRANT_VERSION=master BERKSHELF_VERSION=v3.0.0
|
23
|
+
allow_failures:
|
24
|
+
- env: VAGRANT_VERSION=master BERKSHELF_VERSION=v3.0.1
|
25
|
+
- env: VAGRANT_VERSION=master BERKSHELF_VERSION=v3.0.0
|
26
|
+
|
7
27
|
notifications:
|
8
28
|
hipchat:
|
9
29
|
rooms:
|
data/Gemfile
CHANGED
@@ -1,23 +1,25 @@
|
|
1
1
|
# -*- mode: ruby; encoding: utf-8 -*-
|
2
2
|
source 'https://rubygems.org'
|
3
3
|
|
4
|
-
|
4
|
+
gem 'vagrant', github: 'mitchellh/vagrant', ref: ENV.fetch('VAGRANT_VERSION', 'v1.6.5')
|
5
5
|
|
6
|
-
group :
|
7
|
-
|
6
|
+
group :plugins do
|
7
|
+
gemspec :path => '.'
|
8
|
+
gem 'vagrant-berkshelf', github: 'berkshelf/vagrant-berkshelf', ref: ENV.fetch('BERKSHELF_VERSION', 'v3.0.1')
|
8
9
|
end
|
9
10
|
|
10
|
-
group :
|
11
|
-
gem '
|
12
|
-
gem '
|
11
|
+
group :testing do
|
12
|
+
gem 'coveralls', require: false
|
13
|
+
gem 'rake'
|
14
|
+
gem 'rspec', '~> 3.1'
|
15
|
+
gem 'rspec-its', '~> 1.0'
|
16
|
+
gem 'tailor', '~> 1.4'
|
13
17
|
end
|
14
18
|
|
15
19
|
group :guard do
|
16
20
|
gem 'coolline'
|
17
21
|
gem 'fuubar'
|
18
|
-
gem 'guard', '>= 1.5.0'
|
19
22
|
gem 'guard-rspec'
|
20
|
-
gem 'guard-spork'
|
21
23
|
gem 'guard-yard'
|
22
24
|
gem 'redcarpet'
|
23
25
|
gem 'yard'
|
data/README.md
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
# Amazon OpsWorks Configuration Provider for Vagrant
|
2
|
+
|
3
|
+
<span class="badges">
|
4
|
+
[][gem]
|
5
|
+
[][travis]
|
6
|
+
</span>
|
7
|
+
|
8
|
+
[gem]: https://rubygems.org/gems/vagrant-opsworks
|
9
|
+
[travis]: https://travis-ci.org/fancyguy/vagrant-opsworks
|
10
|
+
|
11
|
+
A [Vagrant](http://www.vagrantup.com/) plugin that configures a multi vm environment based on a defined stack in [AWS OpsWorks](http://aws.amazon.com/opsworks/). This is helpful in rapidly spinning up a copy of a production environment without needing to maintain the configuration in multiple locations.
|
12
|
+
|
13
|
+
The plugin has only been built for and tested with a very specific configuration:
|
14
|
+
|
15
|
+
| Setting | Value |
|
16
|
+
|:---------------------- | ----------------:|
|
17
|
+
| OS | Ubuntu 12.04 LTS |
|
18
|
+
| Chef | 11.10 |
|
19
|
+
| Custom Cookbook Source | Git |
|
20
|
+
| Berkshelf | 3.1.1 |
|
21
|
+
|
22
|
+
## Quick start
|
23
|
+
|
24
|
+
Install the plugin:
|
25
|
+
|
26
|
+
```sh
|
27
|
+
vagrant plugin install vagrant-opsworks
|
28
|
+
```
|
29
|
+
|
30
|
+
To enable Vagrant OpsWorks functionality you need to provide at the very least a stack id. You can find this in the AWS console when looking at the overview of your stack. Below `53ad4076-3f76-466e-8ca2-29ea1092cada` will be our example stack id.
|
31
|
+
|
32
|
+
```ruby
|
33
|
+
Vagrant.configure('2') do |config|
|
34
|
+
config.opsworks.stack_id = '53ad4076-3f76-466e-8ca2-29ea1092cada'
|
35
|
+
end
|
36
|
+
```
|
37
|
+
|
38
|
+
## Compatibility
|
39
|
+
|
40
|
+
This plugin has not been tested with versions of Vagrant older than 1.6.5 ([downloads](http://www.vagrantup.com/downloads)).
|
File without changes
|
data/lib/vagrant-opsworks.rb
CHANGED
@@ -68,7 +68,7 @@ module VagrantPlugins
|
|
68
68
|
end
|
69
69
|
|
70
70
|
def finalize!
|
71
|
-
@agent_version = "
|
71
|
+
@agent_version = "328" if @agent_version == UNSET_VALUE
|
72
72
|
@agent_bucket = "opsworks-instance-agent.s3.amazonaws.com" if @agent_bucket == UNSET_VALUE
|
73
73
|
@asset_bucket = "opsworks-instance-assets.s3.amazonaws.com" if @asset_bucket == UNSET_VALUE
|
74
74
|
@cache = true if @cache == UNSET_VALUE
|
data/vagrant-opsworks.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.email = ['steve@fancyguy.com']
|
12
12
|
s.description = %q{A Vagrant plugin to provision a stack configured in Amazon OpsWorks}
|
13
13
|
s.summary = s.description
|
14
|
-
s.homepage = 'http://github.
|
14
|
+
s.homepage = 'http://fancyguy.github.io/vagrant-opsworks'
|
15
15
|
s.license = 'MIT'
|
16
16
|
|
17
17
|
s.files = `git ls-files`.split($/)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-opsworks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Buzonas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|
@@ -120,7 +120,9 @@ files:
|
|
120
120
|
- ".travis.yml"
|
121
121
|
- Gemfile
|
122
122
|
- Guardfile
|
123
|
+
- README.md
|
123
124
|
- Thorfile
|
125
|
+
- docs/basic-example.md
|
124
126
|
- integration/Gemfile
|
125
127
|
- integration/Vagrantfile
|
126
128
|
- lib/berkshelf-monkey-patch.rb
|
@@ -166,7 +168,7 @@ files:
|
|
166
168
|
- spec/unit/vagrant-opsworks/action/create_roles_spec.rb
|
167
169
|
- spec/unit/vagrant-opsworks/config_spec.rb
|
168
170
|
- vagrant-opsworks.gemspec
|
169
|
-
homepage: http://github.
|
171
|
+
homepage: http://fancyguy.github.io/vagrant-opsworks
|
170
172
|
licenses:
|
171
173
|
- MIT
|
172
174
|
metadata: {}
|
@@ -188,7 +190,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
188
190
|
version: '0'
|
189
191
|
requirements: []
|
190
192
|
rubyforge_project:
|
191
|
-
rubygems_version: 2.
|
193
|
+
rubygems_version: 2.2.0
|
192
194
|
signing_key:
|
193
195
|
specification_version: 4
|
194
196
|
summary: A Vagrant plugin to provision a stack configured in Amazon OpsWorks
|