vagrant-opsworks 0.2.3 → 0.3.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: c8d8b6a859f8150e1fa384775dd7b4af81501976
4
- data.tar.gz: 08ed2fbe9ff4fc1b114e2e07dbc8bda5c959d66c
3
+ metadata.gz: 4af4ae9f814eda1ea1a652f5fe209414d519c3d2
4
+ data.tar.gz: 28b0733838b7f059d2007d50d329096a3f14a135
5
5
  SHA512:
6
- metadata.gz: 0360cace45964369f487b820bf2a61bb06ce1adfe45010e844208f5a521fa89d358f3f9a9a0db2a327824009bdb8e6cb7206f2ba977aa4720a49f863f43b5430
7
- data.tar.gz: 25b2f4b1aea38ccfd084558a85a0f1b43730d9de1dcb066c37f4f8d1aeb4488ecab6329787a6de3950fedcd4042ebab666dde8ba28ba990b43186e1f3a5f3c16
6
+ metadata.gz: d948e96e8983fd8262fc974008088fd1a8314b845f15c272df671594eb8bf09823011143134a18c47509d9720579c07605672e3d45f09d0c3503c1e474857908
7
+ data.tar.gz: 177bad8cd3d3ee6be48e43a0069efc9cbdd283dd9d4c1c3af29b2d484d63092532e210015b4a5a859472839ce3df89f3ec7f0f3fe76fd57d8d89a7f8813dd6a8
data/Gemfile CHANGED
@@ -5,7 +5,7 @@ gem 'vagrant', github: 'mitchellh/vagrant', ref: ENV.fetch('VAGRANT_VERSION', 'v
5
5
 
6
6
  group :plugins do
7
7
  gemspec :path => '.'
8
- gem 'vagrant-berkshelf', github: 'berkshelf/vagrant-berkshelf', ref: ENV.fetch('BERKSHELF_VERSION', 'v3.0.1')
8
+ gem 'vagrant-berkshelf', github: 'berkshelf/vagrant-berkshelf', ref: ENV.fetch('BERKSHELF_VERSION', 'v4.0.1')
9
9
  end
10
10
 
11
11
  group :testing do
data/Thorfile CHANGED
@@ -2,6 +2,7 @@
2
2
  $:.push File.expand_path('../lib', __FILE__)
3
3
 
4
4
  require 'bundler'
5
+ require 'i18n'
5
6
  require 'bundler/setup'
6
7
  require 'thor/rake_compat'
7
8
  require 'vagrant-opsworks'
@@ -7,5 +7,5 @@ end
7
7
 
8
8
  group :plugins do
9
9
  gem 'vagrant-opsworks', path: '../'
10
- gem 'vagrant-berkshelf', github: 'berkshelf/vagrant-berkshelf', tag: 'v3.0.1'
10
+ gem 'vagrant-berkshelf', github: 'berkshelf/vagrant-berkshelf', tag: 'v4.0.1'
11
11
  end
@@ -1,23 +1,25 @@
1
- require 'berkshelf/vagrant'
2
- require 'berkshelf/vagrant/action'
1
+ require 'vagrant-berkshelf/action/base'
3
2
 
4
- module Berkshelf
5
- module Vagrant
3
+ module VagrantPlugins
4
+ module Berkshelf
6
5
  module Action
7
6
  require 'vagrant-opsworks/action'
8
7
  include VagrantPlugins::OpsWorks::Action
9
8
 
10
- class << self
11
- alias_method :old_setup, :setup
12
- end
9
+ class Base
10
+ class << self
11
+ alias_method :old_setup, :setup
12
+ end
13
13
 
14
- def self.setup
15
- @setup ||= old_setup.tap do |b|
16
- b.use ::Vagrant::Action::Builtin::EnvSet, opsworks: VagrantPlugins::OpsWorks::Env.new
17
- b.use VagrantPlugins::OpsWorks::Action::SetupEnvironment
18
- b.use VagrantPlugins::OpsWorks::Action::CheckoutCookbooks
19
- b.use VagrantPlugins::OpsWorks::Action::MergeCookbooks
20
- b.use VagrantPlugins::OpsWorks::Action::ConfigureChef
14
+ def self.setup
15
+ Vagrant::Action::Builder.new.tap do |b|
16
+ b.use old_setup
17
+ b.use ::Vagrant::Action::Builtin::EnvSet, opsworks: VagrantPlugins::OpsWorks::Env.new
18
+ b.use VagrantPlugins::OpsWorks::Action::SetupEnvironment
19
+ b.use VagrantPlugins::OpsWorks::Action::CheckoutCookbooks
20
+ b.use VagrantPlugins::OpsWorks::Action::MergeCookbooks
21
+ b.use VagrantPlugins::OpsWorks::Action::ConfigureChef
22
+ end
21
23
  end
22
24
  end
23
25
 
@@ -1,3 +1,4 @@
1
+ require 'vagrant'
1
2
  require 'berkshelf-monkey-patch'
2
3
 
3
4
  I18n.load_path << File.expand_path('../../locales/en.yml', __FILE__)
@@ -8,8 +8,6 @@ module VagrantPlugins
8
8
 
9
9
  class << self
10
10
  def provision(hook)
11
- require 'berkshelf/vagrant/env_helpers'
12
- require 'berkshelf/vagrant/action/configure_chef'
13
11
  hook.prepend(VagrantPlugins::OpsWorks::Action.configure_berks)
14
12
 
15
13
  hook.before(::Vagrant::Action::Builtin::ConfigValidate, VagrantPlugins::OpsWorks::Action.setup)
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module OpsWorks
3
- VERSION = '0.2.3'
3
+ VERSION = '0.3.1'
4
4
  end
5
5
  end
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.2.3
4
+ version: 0.3.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-27 00:00:00.000000000 Z
11
+ date: 2014-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk