vagrant-proxyconf 2.0.5 → 2.0.6

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
  SHA256:
3
- metadata.gz: a7a1cd739f80a73e0310fcc60987e1c3fb2e41436078e2d5ffa6d88d95769877
4
- data.tar.gz: 1d40a68b9ec904f7bc84ee8959ec861a5d22eb479d2be90c4fb2710ccd7040cc
3
+ metadata.gz: ac37fdd26574b0bda6d18e20f6da96d3e0ef3fe4793dac9b89c850c65ff08f07
4
+ data.tar.gz: 51b17d465cd2ccad3a0c8b59b7b81fc841462f071029352db6faf7cb65c700f5
5
5
  SHA512:
6
- metadata.gz: 96341ff59ad6ca3a2d4a4d3dd125b15496d805c48c0daa35941a2ca96cf0f4f5ebb8e6b915977943791b70171d7349fe9420b018ffa6129b4a7b98b727a62316
7
- data.tar.gz: 560894fbc39dd0b14e1ac0df447c786c7e62f0a189f7b062415665cd87a394e89813eca9234591d740d0a05ece76109d22a9638c4db5b7a4b59daaaeb86d3b33
6
+ metadata.gz: aeb84b8421bab091fb48ed298371e15c369ab4d2adbf69811d0458bcd9103a014444a1f82539bbc006197db8700d93c5f34adee479a9147f7db0d013d2cf4efd
7
+ data.tar.gz: 6163910bf920cefb2edb163c09aa0575a322f167c3d3be5b1f9d3c292e54b455b454b5941a8bdc4552be8f577f79c21fd8770fe05b09b4130feebfa77bb72df2
@@ -1,4 +1,13 @@
1
- # 2.0.6 / NOT_RELEASED_YET
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")
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module ProxyConf
3
- VERSION = '2.0.5'
3
+ VERSION = '2.0.6'
4
4
  end
5
5
  end
@@ -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.5
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-07-27 00:00:00.000000000 Z
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: