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 +4 -4
- data/lib/vagrant/puppetfile.rb +3 -1
- data/lib/vagrant/puppetfile/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10ca270b2590a41c2e29953064afea04b545c928
|
4
|
+
data.tar.gz: 379123b61ce3f05abd38289415d39fda2b109cb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2da5320de936a1ee27e4b200e9af4287a0a4151b458c624ce331025a03dda67ec99b1c205e03fe73931d72063e057dcb0a1393bf7e2ea14397369a3b27d167ad
|
7
|
+
data.tar.gz: 0657baa0bf639dc330765e54765dd3a66d5782115f72ee2f149546c62fdd9ffe1d4eb2bb2c33a913fed970ae05c62fbd5df489807a874f19a5f9dc18e0c292a7
|
data/lib/vagrant/puppetfile.rb
CHANGED
@@ -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)
|
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.
|
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-
|
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
|