vagrant-goodhosts 1.0.10 → 1.0.11

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: b6661999d4e2dfba792e5a925f4674cca24b6b3e523b8f2b3427933ce09570c6
4
- data.tar.gz: c869c926f280627a4198f8cebcfe47aefffc24e1993e6558a637726d0471dd1a
3
+ metadata.gz: 49d1ef8ce5027c31ed5ec247e6e970c8c4aeaf63768f580a01a8a728c72ab0d7
4
+ data.tar.gz: abab4a95a6f01277fcfdaaac8e18a14a8bf8e2c734d2d9e458458f6224a8f73d
5
5
  SHA512:
6
- metadata.gz: ee107d64bdd466fe0d96778dff5f71a9783ebe0e77392909eb0e7f041941fe436987c39a1d1967b89ef4922aed18ae579c117677c5c3b0e08e276be318d3e1e0
7
- data.tar.gz: 5ccb050a4ff37df1db7c0ba61788cf1149d28c6b05d9e470e91263538c3ef9c287ac1777f03500f84ae205c3460ac1793aed94e49bc0506dc4f057501d9230df
6
+ metadata.gz: 300fb83736beb9410f886bc3973e7f3280dfad083b9b0bf995d265f1cd74b53cca9b930255deabc738fcf900768049f102044fe901a069515278a81d77d16435
7
+ data.tar.gz: d24e96eafd0d1bf66c00d8ba52625601af178b3f4e87dc2ec9fcfc8316b465cee3b8ec1dc781759465cb48f02afd6be9cf1772366f7f79bd85525f0b1ddfcced
@@ -110,7 +110,7 @@ module VagrantPlugins
110
110
  if not shouldClean(ip_address)
111
111
  clean = "--clean"
112
112
  end
113
- stdin, stdout, stderr, wait_thr = Open3.popen3("sudo", cli, "add", clean, ip_address, hostnames)
113
+ stdin, stdout, stderr, wait_thr = Open3.popen3("sudo #{cli} add #{clean} #{ip_address} #{hostnames}")
114
114
  end
115
115
  if !wait_thr.value.success?
116
116
  error = true
@@ -142,7 +142,7 @@ module VagrantPlugins
142
142
  if not shouldClean(ip_address)
143
143
  clean = "--clean"
144
144
  end
145
- stdin, stdout, stderr, wait_thr = Open3.popen3("sudo", cli, "remove", clean, ip_address, hostnames)
145
+ stdin, stdout, stderr, wait_thr = Open3.popen3("sudo #{cli} remove #{clean} #{ip_address} #{hostnames}")
146
146
  end
147
147
  if !wait_thr.value.success?
148
148
  error = true
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module GoodHosts
3
- VERSION = '1.0.10'
3
+ VERSION = '1.0.11'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-goodhosts
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.10
4
+ version: 1.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniele Scasciafratte