vagrant-puppetfile 0.4.3 → 0.4.4

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: bbff97cdeedbea9bc71c7460ee98e8d921d671a7
4
- data.tar.gz: ec287ee9e5ffb598b8e60f0b3c42b0ddd7a2aac2
3
+ metadata.gz: 10ca270b2590a41c2e29953064afea04b545c928
4
+ data.tar.gz: 379123b61ce3f05abd38289415d39fda2b109cb0
5
5
  SHA512:
6
- metadata.gz: 9137331c54d4c2266c215fb906cfbe599c1c09e59fa3c3089fcfaf656b4968e6fa31044de38353fbf3957e28b2df19f032a6821c40a8b22556a6d32106695efb
7
- data.tar.gz: 017386ab77bb35275814eee91a9e4b51f784afadcc628f93a325fff3ece3c1bff7971694e9b8b6f395c46bd0dc4a3645e166ebe0fcefc527b33e5918b61166f4
6
+ metadata.gz: 2da5320de936a1ee27e4b200e9af4287a0a4151b458c624ce331025a03dda67ec99b1c205e03fe73931d72063e057dcb0a1393bf7e2ea14397369a3b27d167ad
7
+ data.tar.gz: 0657baa0bf639dc330765e54765dd3a66d5782115f72ee2f149546c62fdd9ffe1d4eb2bb2c33a913fed970ae05c62fbd5df489807a874f19a5f9dc18e0c292a7
@@ -176,14 +176,16 @@ module Vagrant
176
176
  end
177
177
 
178
178
  def with_clean_env
179
+ env = ENV_CLEAN_KEYS.map { |k| [k, ENV.delete(k)] }
179
180
  if not defined? ::Bundler
180
181
  yield
181
182
  else
182
183
  ::Bundler.with_clean_env do
183
- ENV_CLEAN_KEYS.each { |k| ENV.delete(k) }
184
184
  yield
185
185
  end
186
186
  end
187
+ ensure
188
+ env.each { |(k, v)| ENV[k] = v }
187
189
  end
188
190
 
189
191
  def command(*args)
@@ -21,6 +21,6 @@
21
21
  module Vagrant
22
22
  module Puppetfile
23
23
  NAME = 'vagrant-puppetfile'
24
- VERSION = '0.4.3'
24
+ VERSION = '0.4.4'
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-puppetfile
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Hanson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-24 00:00:00.000000000 Z
11
+ date: 2017-06-27 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Automatically installs puppet modules from a Puppetfile during Vagrant
14
14
  provisioning