vagrant-goodhosts 1.0.16 → 1.0.17

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: 6843d62e56a2bd4b265a0b4854bcb69fba17c99b60515ad4bdb23ef1decf384b
4
- data.tar.gz: dfb62145d87e3d1d3122a6777399d3fb41c620df68f762ed6284c3221066e72b
3
+ metadata.gz: 86f17cd749321e35fafab21b1187d95010f121ec7ef384341aef7d1e767f66c4
4
+ data.tar.gz: ef74638b070b0ce806b27ae50b3ed05324d5e2715e55c9f26477f77ecead532d
5
5
  SHA512:
6
- metadata.gz: 9476f2832c25de5c268f2bcbda6f243f784ed641143c8a5b26fd0511582e9cbd010ff99faa96f53084699c16970a9efb71964309914f4d4e4847dacae2392346
7
- data.tar.gz: 583d8ccf7c2c5e77feed7980987facb0fe156e1325efd580d19c20518cea2141a4b80e6cb18d8f15a550f945099c9c37755c13dc703d44e72c60b14c30e75104
6
+ metadata.gz: b8dc33d45b72b7b6cc29b66d4eb4bf77e73c0e791b54e514905315108aa1d0ce8f1b6d7e3069eda8103f7613fbe1f06200b6c4a0e745b60348f27b78ffef3009
7
+ data.tar.gz: 5d91d96b23d355281840675f3de98a701daaea12e3fec0bf0bd1adf7983c88ecf55e2e3fb8bb39f26da4ebc3643233053cea8bdd8e2b765f6d2512d345eb57ac
data/README.md CHANGED
@@ -96,15 +96,15 @@ If you understand the risks that go with supressing them, here's how to do it.
96
96
  ### Linux/OS X: Passwordless sudo
97
97
 
98
98
  To allow vagrant to automatically update the hosts file without asking for a sudo password, add one of the following snippets to a new sudoers file include, i.e. `sudo visudo -f /etc/sudoers.d/vagrant_goodhosts`.
99
- The command path is printed when there are errors with sudo.
99
+ The command path is printed when there are errors with Vagrant, check the output marked in red.
100
100
 
101
101
  For Ubuntu and most Linux environments:
102
102
 
103
- %sudo ALL=(root) NOPASSWD: [the-path]
103
+ %sudo ALL=(root) NOPASSWD: [the-command-path]
104
104
 
105
105
  For MacOS:
106
106
 
107
- %admin ALL=(root) NOPASSWD: [the-path]
107
+ %admin ALL=(root) NOPASSWD: [the-command-path]
108
108
 
109
109
  Replace in both %sudo/%admin with the username it if it is not working for you.
110
110
 
@@ -178,6 +178,7 @@ module VagrantPlugins
178
178
  hostnames_by_ips = []
179
179
  ips = getIps
180
180
  if ips.count() < 1
181
+ @ui.error("[vagrant-goodhosts] No ip address found for this virtual machine")
181
182
  return hostnames_by_ips
182
183
  end
183
184
  hostnames = getHostnames(ips)
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module GoodHosts
3
- VERSION = '1.0.16'
3
+ VERSION = '1.0.17'
4
4
  end
5
5
  end
data/package.sh CHANGED
@@ -13,3 +13,4 @@ rm -f ./*.txt
13
13
  # Generate
14
14
  cd ../../../
15
15
  gem build vagrant-goodhosts.gemspec
16
+ # gem push
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-goodhosts
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.16
4
+ version: 1.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniele Scasciafratte
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-22 00:00:00.000000000 Z
11
+ date: 2021-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler