vagrant-opsworks 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 371400e1c9c609976754013662593ceb4d789f85
4
- data.tar.gz: af11465e86ae9dd7214be2da1a45e1380fd6c020
3
+ metadata.gz: 89e1eef1e81b7aac4a586c5d8ea6de9ec9b7e7af
4
+ data.tar.gz: ef482d8f01f851b40a024447ce046f9744011b87
5
5
  SHA512:
6
- metadata.gz: 97fc5adfd0a0f8952c8aba978f1b95cb01a604abcd6621f0ec61ac1c962e1e36962d4a8dc9a645d9ab8a8456c3ff354824d2a5c9fb2f472c8adffaffc9a40c2d
7
- data.tar.gz: 5d45e28c83d29ee9adc00c03cadd51dad7967b328e550328c05a7a962c0a04f5ea85e52ee95ff6398dc8a45b15f684d1422a7fbc6fe4fb6e57c56a9eaae9bc9b
6
+ metadata.gz: 3d2b1814af65298643b56b6c989d399369b228a0d734847dc05ed349e8ff235c76312bba4644fecb26efe1c6558928110659bea28ba7f4cc584725bafc6b0047
7
+ data.tar.gz: b2557ac84ac1a261d250970e42eb19293f4890143edc96879bcf253f5408c0258559bc1f0a39fca02e60dbf334690674fcc3db1c1efea3ad01fa26022ab666a8
data/.travis.yml CHANGED
@@ -1,9 +1,29 @@
1
1
  language: ruby
2
- rvm:
3
- - 2.0.0
4
- - 2.1.0
5
- bundler_args: --without doc guard --jobs 7
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
- gemspec :path => '.'
4
+ gem 'vagrant', github: 'mitchellh/vagrant', ref: ENV.fetch('VAGRANT_VERSION', 'v1.6.5')
5
5
 
6
- group :development do
7
- gem 'vagrant', github: 'mitchellh/vagrant', tag: 'v1.6.3'
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 :plugins do
11
- gem 'vagrant-opsworks', path: '.'
12
- gem 'vagrant-berkshelf', github: 'berkshelf/vagrant-berkshelf', tag: 'v3.0.1'
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 Version](https://badge.fury.io/rb/vagrant-opsworks.svg)][gem]
5
+ [![Build Status](https://travis-ci.org/fancyguy/vagrant-opsworks.png?branch=master)][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
@@ -1,9 +1,3 @@
1
- begin
2
- require 'vagrant'
3
- rescue LoadError
4
- raise 'The Vagrant OpsWorks plugin must be run within Vagrant.'
5
- end
6
-
7
1
  require 'berkshelf-monkey-patch'
8
2
 
9
3
  I18n.load_path << File.expand_path('../../locales/en.yml', __FILE__)
@@ -68,7 +68,7 @@ module VagrantPlugins
68
68
  end
69
69
 
70
70
  def finalize!
71
- @agent_version = "327" if @agent_version == UNSET_VALUE
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
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module OpsWorks
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
4
4
  end
5
5
  end
@@ -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.com/fancyguy/vagrant-opsworks.git'
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.0
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-20 00:00:00.000000000 Z
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.com/fancyguy/vagrant-opsworks.git
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.4.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