vagrant-pe_build 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,7 +1,18 @@
1
1
  vagrant-pe_build
2
2
  ================
3
3
 
4
+ 0.7.1
5
+ -----
6
+
7
+ 2013-10-14
8
+
9
+ This is a backwards compatible bugfix release.
10
+
11
+ * Fixed pe_bootstrap config normalization to safely handle UNSET_VALUE as a
12
+ role value.
13
+
4
14
  0.7.0
15
+ -----
5
16
 
6
17
  2013-10-14
7
18
 
@@ -68,11 +68,6 @@ class PEBuild::Config::PEBootstrap < PEBuild::Config::Global
68
68
  # the provisioner will handle that.
69
69
  def finalize!
70
70
 
71
- # The value of role is normalized to a symbol so that users don't have to
72
- # know the underlying representation, and we don't have to cast everything
73
- # to a string and symbols later on.
74
- @role &&= @role.intern
75
-
76
71
  set_default :@role, :agent
77
72
  set_default :@verbose, true
78
73
  set_default :@master, 'master'
@@ -80,6 +75,15 @@ class PEBuild::Config::PEBootstrap < PEBuild::Config::Global
80
75
  set_default :@autosign, (@role == :master)
81
76
 
82
77
  set_default :@relocate_manifests, false
78
+
79
+ # The value of role is normalized to a symbol so that users don't have to
80
+ # know the underlying representation, and we don't have to cast everything
81
+ # to a string and symbols later on.
82
+ #
83
+ # We also need to run this after a default was set, otherwise we'll try to
84
+ # normalize UNSET_VALUE
85
+ @role = @role.intern
86
+
83
87
  end
84
88
 
85
89
  # @param machine [Vagrant::Machine]
@@ -1,3 +1,3 @@
1
1
  module PEBuild
2
- VERSION = '0.7.0'
2
+ VERSION = '0.7.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-pe_build
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: