vagrant-opsworks 0.2.3 → 0.3.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/Gemfile +1 -1
- data/Thorfile +1 -0
- data/integration/Gemfile +1 -1
- data/lib/berkshelf-monkey-patch.rb +16 -14
- data/lib/vagrant-opsworks.rb +1 -0
- data/lib/vagrant-opsworks/plugin.rb +0 -2
- data/lib/vagrant-opsworks/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4af4ae9f814eda1ea1a652f5fe209414d519c3d2
|
|
4
|
+
data.tar.gz: 28b0733838b7f059d2007d50d329096a3f14a135
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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', '
|
|
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
data/integration/Gemfile
CHANGED
|
@@ -1,23 +1,25 @@
|
|
|
1
|
-
require 'berkshelf/
|
|
2
|
-
require 'berkshelf/vagrant/action'
|
|
1
|
+
require 'vagrant-berkshelf/action/base'
|
|
3
2
|
|
|
4
|
-
module
|
|
5
|
-
module
|
|
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
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
class Base
|
|
10
|
+
class << self
|
|
11
|
+
alias_method :old_setup, :setup
|
|
12
|
+
end
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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
|
|
data/lib/vagrant-opsworks.rb
CHANGED
|
@@ -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)
|
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.
|
|
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-
|
|
11
|
+
date: 2014-12-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk
|