vagrant-proxyconf 2.0.5 → 2.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ac37fdd26574b0bda6d18e20f6da96d3e0ef3fe4793dac9b89c850c65ff08f07
|
|
4
|
+
data.tar.gz: 51b17d465cd2ccad3a0c8b59b7b81fc841462f071029352db6faf7cb65c700f5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aeb84b8421bab091fb48ed298371e15c369ab4d2adbf69811d0458bcd9103a014444a1f82539bbc006197db8700d93c5f34adee479a9147f7db0d013d2cf4efd
|
|
7
|
+
data.tar.gz: 6163910bf920cefb2edb163c09aa0575a322f167c3d3be5b1f9d3c292e54b455b454b5941a8bdc4552be8f577f79c21fd8770fe05b09b4130feebfa77bb72df2
|
data/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,13 @@
|
|
|
1
|
-
# 2.0.
|
|
1
|
+
# 2.0.7 / NOT_RELEASED_YET
|
|
2
|
+
|
|
3
|
+
# 2.0.6 / 2019-08-09
|
|
4
|
+
|
|
5
|
+
This is a bug fix release addressing a permissions problem with the docker proxy client config.
|
|
6
|
+
The fixes the permissions problem setting /etc/docker/config.json from 0600 to 0644 permissions.
|
|
7
|
+
|
|
8
|
+
#### Credits
|
|
9
|
+
|
|
10
|
+
- Credit to this release goes to @takuto-h.
|
|
2
11
|
|
|
3
12
|
# 2.0.5 / 2019-07-27
|
|
4
13
|
|
|
@@ -100,6 +100,7 @@ module VagrantPlugins
|
|
|
100
100
|
comm.sudo("chown root:root /etc/docker")
|
|
101
101
|
comm.sudo("mv /tmp/vagrant-proxyconf-docker-config.json /etc/docker/config.json")
|
|
102
102
|
comm.sudo("chown root:root /etc/docker/config.json")
|
|
103
|
+
comm.sudo("chmod 0644 /etc/docker/config.json")
|
|
103
104
|
comm.sudo("rm -f /tmp/vagrant-proxyconf-docker-config.json")
|
|
104
105
|
|
|
105
106
|
comm.sudo("sed -i.bak -e '/^DOCKER_CONFIG/d' /etc/environment")
|
|
@@ -20,6 +20,7 @@ def mock_update_docker_client_config(machine)
|
|
|
20
20
|
allow(machine).to receive_message_chain(:communicate, :upload)
|
|
21
21
|
allow(machine).to receive_message_chain(:communicate, :sudo).with("mv /tmp/vagrant-proxyconf-docker-config.json /etc/docker/config.json")
|
|
22
22
|
allow(machine).to receive_message_chain(:communicate, :sudo).with("chown root:root /etc/docker/config.json")
|
|
23
|
+
allow(machine).to receive_message_chain(:communicate, :sudo).with("chmod 0644 /etc/docker/config.json")
|
|
23
24
|
allow(machine).to receive_message_chain(:communicate, :sudo).with("rm -f /tmp/vagrant-proxyconf-docker-config.json")
|
|
24
25
|
allow(machine).to receive_message_chain(:communicate, :sudo).with("sed -i.bak -e '/^DOCKER_CONFIG/d' /etc/environment")
|
|
25
26
|
allow(machine).to receive_message_chain(:communicate, :sudo).with("echo DOCKER_CONFIG=/etc/docker >> /etc/environment")
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vagrant-proxyconf
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Teemu Matilainen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-08-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: A Vagrant plugin that configures the virtual machine to use proxy servers
|
|
14
14
|
email:
|