vagrant-berkshelf 4.0.2 → 4.0.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a4e3d407e177686e548c0032ea30e25eb7b91bc2
4
- data.tar.gz: 645273f25a4a346055111516602f2070d5eb4b3c
3
+ metadata.gz: 05db87ebc609977e91ad60fcf341d077982a333b
4
+ data.tar.gz: 974eb20f7e742d57367e4c87e9e405a466ba7542
5
5
  SHA512:
6
- metadata.gz: 87e6a5e45f3887ebc686ff4b4b03d29987769ba154512a1a31b70854f6e5fc618f675ae41d23888da2c1e59919a642d1f8168191e991916bcc8508bc7a325b93
7
- data.tar.gz: 3381607d856c46ae77153255619bfaf27cbe9cfc8567bab36f32d5a880ac249f85364f1745f543c08359ded750a4db533fa52769088a557c417ab7c729c5ac90
6
+ metadata.gz: bc90fadd03253d91c3a8d5c549ed3e8f4f032a4c6cddc1fef42051c8d9760de2f7d5ce05fcc8134708134e14d36da693177d5ab9a54f8f18bc3b02d35831744f
7
+ data.tar.gz: c2e100908198ba25cc457b577b233c84a1466b734c0bdfb7c52944074fe123beccfcdd34f2380c94ffac5629f546f358dd6fc528084162850ff6a865bba67865
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # 4.0.3
2
+
3
+ * Bug Fixes
4
+ * Enabled plugin state is only enabled if explicitly set to boolean `true`
5
+ * Base setup occurs before Config validate, not after
6
+
1
7
  # 4.0.2
2
8
 
3
9
  * Bug Fixes
data/README.md CHANGED
@@ -22,7 +22,7 @@ Installation
22
22
 
23
23
  Usage
24
24
  -----
25
- If the Vagrant Berkshelf plugin is installed, it will intelligent detect when a
25
+ If the Vagrant Berkshelf plugin is installed, it will intelligently detect when a
26
26
  Berksfile is present in the same working directory as the Vagrantfile.
27
27
 
28
28
  Here is an example Vagrantfile configuration section for Vagrant Berkshelf:
@@ -5,7 +5,7 @@ module VagrantPlugins
5
5
  INSTALL_CHEFDK_INSTRUCTIONS = <<-EOH.freeze
6
6
  Please download and install the latest version of the ChefDK from:
7
7
 
8
- https://downloads.getchef.com/chef-dk
8
+ https://downloads.chef.io/chef-dk
9
9
 
10
10
  and follow the installation instructions. Do not forget to add the ChefDK to
11
11
  your PATH.
@@ -118,7 +118,7 @@ module VagrantPlugins
118
118
  #
119
119
  # @return [Boolean]
120
120
  def berkshelf_enabled?(env)
121
- env[:machine].config.berkshelf.enabled
121
+ env[:machine].config.berkshelf.enabled == true
122
122
  end
123
123
 
124
124
  # Determine if --no-provision was specified
@@ -23,7 +23,7 @@ module VagrantPlugins
23
23
 
24
24
  [:machine_action_up, :machine_action_reload, :machine_action_provision].each do |action|
25
25
  action_hook(:berkshelf_provision, action) do |hook|
26
- hook.before(Vagrant::Action::Builtin::ConfigValidate, Action::Base.setup)
26
+ hook.after(Vagrant::Action::Builtin::ConfigValidate, Action::Base.setup)
27
27
  hook.before(Vagrant::Action::Builtin::Provision, Action::Base.provision)
28
28
  end
29
29
  end
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module Berkshelf
3
- VERSION = "4.0.2"
3
+ VERSION = "4.0.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-berkshelf
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.2
4
+ version: 4.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamie Winsor
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-12-31 00:00:00.000000000 Z
13
+ date: 2015-02-15 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: spork