vagrant-hostsupdater 1.0.0 → 1.0.1

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
  SHA1:
3
- metadata.gz: aa5a906b2206c4c30ffc719ea0b078317cd884c8
4
- data.tar.gz: a8f1c3bd95b09e2d604a11a3c9281c904edeedc4
3
+ metadata.gz: a2a17cded96ebcabea7b7c83fe53a211fec0f67d
4
+ data.tar.gz: b78d9ce4c6ad59cf4b84e21b20cf757bd20babab
5
5
  SHA512:
6
- metadata.gz: dbe7a6d519649649a9373b618176d13871fb442d2be630bb29fefe980bb5bbacabf3108d3a779bab82de53c460b61e1e77cae722940461913ad0ec072d17d4dd
7
- data.tar.gz: d004fb3ec7fde2201ae3b0eb67470cb4ae853c95b587b37536456ed788ccba65a6ce6aff686be481eff64e0287c96519878008cefe9193aba2ebf2bd20031d08
6
+ metadata.gz: e050e308db233943db5d919bdc29e955ac2107dac000e55d2c5cb126347dad34b48b20e7d6a020c606f38d77e06866e0790db0e203841b917bfb723a87a78db7
7
+ data.tar.gz: 0e9ab9617ce0683000bda509941020f2f8540c49a0664a9db48c78ad330ecff32a9f901dfe2ab2bc78a9c563663f7ab933bdabdb99ef03bdfb8eaf129bd2bad3
data/README.md CHANGED
@@ -55,13 +55,14 @@ Example:
55
55
 
56
56
  ## Passwordless sudo
57
57
 
58
- Add the following snippet to the sudoers file (for example, to `/etc/sudoers.d/vagrant_hostupdater`) to make it
58
+ Add the following snippet to the top of the sudoers file using `sudo visudo`. It will make vagrant
59
59
  stop asking password when updating hosts file:
60
60
 
61
61
  # Allow passwordless startup of Vagrant with vagrant-hostsupdater.
62
62
  Cmnd_Alias VAGRANT_HOSTS_ADD = /bin/sh -c echo "*" >> /etc/hosts
63
63
  Cmnd_Alias VAGRANT_HOSTS_REMOVE = /usr/bin/sed -i -e /*/ d /etc/hosts
64
- %sudo ALL=(root) NOPASSWD: VAGRANT_HOSTS_ADD, VAGRANT_HOSTS_REMOVE
64
+ %admin ALL=(root) NOPASSWD: VAGRANT_HOSTS_ADD, VAGRANT_HOSTS_REMOVE
65
+
65
66
 
66
67
 
67
68
  ## Installing development version
@@ -87,6 +88,9 @@ vagrant plugin install vagrant-hostsupdater-*.gem
87
88
 
88
89
  ## Versions
89
90
 
91
+ ### 1.0.1
92
+ * Bugfix: Fixing `up` issue on initialize [#28](/../../issues/28)
93
+
90
94
  ### 1.0.0
91
95
  * Stable release
92
96
  * Feature: Added `skip` flag [#69](/../../issues/69)
@@ -18,7 +18,7 @@ module VagrantPlugins
18
18
 
19
19
  action_hook(:hostsupdater, :machine_action_up) do |hook|
20
20
  hook.prepend(Action::RemoveHosts)
21
- hook.after(Action::RemoveHosts, Action::UpdateHosts)
21
+ hook.after(Vagrant::Action::Builtin::SetHostname, Action::UpdateHosts)
22
22
  end
23
23
 
24
24
  action_hook(:hostsupdater, :machine_action_provision) do |hook|
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module HostsUpdater
3
- VERSION = "1.0.0"
3
+ VERSION = '1.0.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-hostsupdater
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Falk Kühnel
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-11-08 00:00:00.000000000 Z
12
+ date: 2015-11-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler