vagrant-pe_build 0.13.1 → 0.13.2

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: e2e6f14e8b35e22ae15176f3cdf0c565e46c4e38
4
- data.tar.gz: 361e059dc515938468056f519f041303901169d1
3
+ metadata.gz: 15a722c813eadf66cdeb91e2261776d317833807
4
+ data.tar.gz: 15f41c255df414d9ad264cbf18ca8d528e7ece08
5
5
  SHA512:
6
- metadata.gz: 6b74826bbbde2c4a824fafa7fb021b6cc0f0f7078355087ae366a81e06f5f78790570c5123bc701355607bc8357c1686de9f2b2215b9b762042c6a96e69785ee
7
- data.tar.gz: 54a2614a6218771ee590865ff44e772db378cc686af4756af69ba82266c14cbb67267d03783a244c87aa5e5d029249c54c3d6bb1bbbdd1e7d0f9bc6733511735
6
+ metadata.gz: b1dd56b985021bf542ca4e3e2c867296baf708b464ce0e58347ac784e3f23322bc5f165e8a3534b7160b1e6cc0cdd296008ccb9c4f22a13424b8f7796453aa1f
7
+ data.tar.gz: 2cf402d68a8d7eb61785fad6f38fdc7efd226950f6fd4acf1853569d1bb2a5267c19ec75f47b1814d559949b6b3ebf7b68674d29086be393a536369e3172d8b8
data/CHANGELOG CHANGED
@@ -1,6 +1,19 @@
1
1
  vagrant-pe_build
2
2
  ================
3
3
 
4
+ 0.13.2
5
+ ------
6
+
7
+ 2015-10-31
8
+
9
+ This is a backwards compatible bugfix release.
10
+
11
+ * (GH-104) Fixed an issue where the `pe_agent` provisioner would reject
12
+ PE version 2015.2.0 as being "too old".
13
+
14
+ * (GH-105) Fixed an issue where the `pe_agent` provisioner would raise
15
+ an error during agent deletion if the master wasn't created.
16
+
4
17
  0.13.1
5
18
  ------
6
19
 
@@ -1,3 +1,5 @@
1
+ require 'pe_build/util/version_string'
2
+
1
3
  # Configuration for PE Agent provisioners
2
4
  #
3
5
  # @since 0.13.0
@@ -97,7 +99,7 @@ class PEBuild::Config::PEAgent < Vagrant.plugin('2', :config)
97
99
  if @version.kind_of? String
98
100
  return if version == 'current'
99
101
  if version.match(pe_version_regex)
100
- unless PEBuild::Util::VersionString.compare(@version, MINIMUM_VERSION) > 0
102
+ unless PEBuild::Util::VersionString.compare(@version, MINIMUM_VERSION) >= 0
101
103
  errors << I18n.t(
102
104
  'pebuild.config.pe_agent.errors.version_too_old',
103
105
  :version => @version,
@@ -33,7 +33,7 @@ module PEBuild
33
33
  # tuples. This will fail to match anything if config.master_vm is nil.
34
34
  vm_def = machine.env.active_machines.find {|vm| vm[0].to_s == config.master_vm.to_s}
35
35
  if vm_def.nil?
36
- config.master_vm.ui.warn I18n.t(
36
+ machine.ui.warn I18n.t(
37
37
  'pebuild.provisioner.pe_agent.skip_purge_no_master',
38
38
  :master => config.master_vm.to_s
39
39
  )
@@ -1,3 +1,3 @@
1
1
  module PEBuild
2
- VERSION = '0.13.1'
2
+ VERSION = '0.13.2'
3
3
  end
@@ -141,7 +141,16 @@ describe PEBuild::Config::PEAgent do
141
141
  expect(errors['pe_agent provisioner'].to_s).to match(/The agent version.*is invalid./)
142
142
  end
143
143
 
144
- it "must be greater than #{PEBuild::Config::PEAgent::MINIMUM_VERSION}" do
144
+ it "may be greater than or equal to #{PEBuild::Config::PEAgent::MINIMUM_VERSION}" do
145
+ subject.version = PEBuild::Config::PEAgent::MINIMUM_VERSION
146
+
147
+ subject.finalize!
148
+ errors = subject.validate(machine)
149
+
150
+ expect(errors['pe_agent provisioner']).to eq []
151
+ end
152
+
153
+ it "may not be less than #{PEBuild::Config::PEAgent::MINIMUM_VERSION}" do
145
154
  subject.version = '3.8.2'
146
155
 
147
156
  subject.finalize!
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.13.1
4
+ version: 0.13.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrien Thebo
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-10-26 00:00:00.000000000 Z
12
+ date: 2015-10-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: progressbar