vagrant-pe_build 0.8.4 → 0.8.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NmQ1MTliZTc2ZWQ1NzY5YmViYWEzMWQyNzUwYzhiN2MzNDU2YWFmZg==
4
+ ZjU1NmRiNmI1MTA4ZmRlNWM4NWZiMGMzNzE0NTQwYzYxZjI0YjJlMA==
5
5
  data.tar.gz: !binary |-
6
- MzgzNWZkYmJmMTdiMzJiOWQ4MjdjYjcyYjJmZjc2NDVlYzY0NjVmNA==
6
+ Y2RhNDRhNzJiMzMwYTYxMTFlZWNiNGZlZWQxMzMzZjIzMGFhNGI1Zg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MDA5NzIxNWIyYTg4OGU4ZjE5ODU3ZDIzY2Y1OTg3ODNkZDkxZTMzODNlMzk4
10
- YmQ1ZDY4ZmQ3OTYxN2JmOGVmOTA3ZWUxYTJhYTJjNWVlMTFkOWUxYzA2M2U0
11
- NDg5YmY3OTI1MjY2OWU5NjIyMzhjNjUzODgwMDJhYzIxNDRlMzY=
9
+ ZjkzNTAxYTUyZjBmNTViZGFkNjk3YzljN2EwZDYwMzE2OGYxYzZlMmU5YjM4
10
+ NzU2Yzg3NjhmOGZmODFiZjM0NjcxYjg5MjFkY2ZmMjM2ZTlmZWM2MjQyNjI4
11
+ ZTcwYTQ5MDhmMzk0OTQyNzEyYTM0NDE0ZmNiYzA3NTAzNTQxZTY=
12
12
  data.tar.gz: !binary |-
13
- ZWMzNTU1MjMxYjFlNzg0NGE1MmUzMDIxYTgxNGI3ZGY1ZDYyZDcyNGY4YWY3
14
- NDNhYzlmYTkwYTYyOGZiYTRjNTZmZjE1ZjAwMzExNTA4Nzg4MzNjNzA4OWJl
15
- YjM1NzQ0NzFiMzE4MWVkODhiZjI3NWZlYjhiNzExMTk1ODMwZWM=
13
+ ODg5MzZiNmI3ZjRiOTliODM0N2VjYzhkMzNhM2RmNTAxNTVkZDk4ZmQ3OWZi
14
+ MmM5OTQwNGQ4NGJjODdlZDE2YjdlYjI5MzI4NzE1ZjJkODEwODA1NTVjYzc4
15
+ N2RmYzJiYTA2OTI4NjgwMDY2MWE4MmZlM2Y2MWY0NWUwYmM1Yzg=
data/CHANGELOG CHANGED
@@ -1,10 +1,21 @@
1
1
  vagrant-pe_build
2
2
  ================
3
3
 
4
+ 0.8.5
5
+ -----
6
+
7
+ This is a backwards compatible maintenance release.
8
+
9
+ * (GH-56) Add support for Vagrant 1.5.
10
+
11
+ ### Thanks
12
+
13
+ Thanks to Reid Vandewiele for his work on this release.
14
+
4
15
  0.8.4
5
16
  -----
6
17
 
7
- This is a backwards compatibility maintenance release.
18
+ This is a backwards compatible maintenance release.
8
19
 
9
20
  * Support for Puppet Enterprise for 2.8.5
10
21
  * Support for Puppet Enterprise for 3.1.2
@@ -166,11 +166,19 @@ class PEBuild::Config::PEBootstrap < PEBuild::Config::Global
166
166
  end
167
167
 
168
168
  # Safely access the global config
169
- #
170
- # If we try to access the global config object directly from a validating
171
- # machine, horrible things happen. To avoid this we access the environment's
172
- # global config which should already be finalized.
173
169
  def global_config_from(machine)
174
- env = machine.env.config_global
170
+ case Vagrant::VERSION
171
+ when /^1\.[1234]/
172
+ # If we try to access the global config object directly from a validating
173
+ # machine, horrible things happen. To avoid this we access the environment's
174
+ # global config which should already be finalized.
175
+ env = machine.env.config_global
176
+ else # Vagrant 1.5.x and above
177
+ # This kinda seemed like the most direct replacement for config_global,
178
+ # but turned out not to really work. Returned a dummy object of some
179
+ # kind.
180
+ #env = vagrantfile.config
181
+ env = machine.config
182
+ end
175
183
  end
176
184
  end
@@ -1,3 +1,3 @@
1
1
  module PEBuild
2
- VERSION = '0.8.4'
2
+ VERSION = '0.8.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-pe_build
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.4
4
+ version: 0.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrien Thebo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-26 00:00:00.000000000 Z
11
+ date: 2014-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: progressbar