vagrant-hosts 2.6.0 → 2.6.1
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 +4 -4
- data/CHANGELOG +12 -0
- data/lib/vagrant-hosts/provisioner/hosts.rb +3 -3
- data/lib/vagrant-hosts/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5a0df3190eb13829f6b76bdd17668452a6d9ebb
|
4
|
+
data.tar.gz: 8a4847c136f865c02289f3d9eed166cb33004b47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de20f7c5b3ce70ed733b5596402890973d7908202f719b486de57f0aefb348f918bf603d47cb8923c6836e77c36f8465964937c0b93f7ddf2513b4f3d88f1a56
|
7
|
+
data.tar.gz: 102164ddadfa8682b20f2c77a2a30940f61d0a2568e23101ecf6dd27ad8e51ebefe33c9aabe375654627576929e4b01af03b3909aad067c78a56a23e8891ed9e
|
data/CHANGELOG
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
CHANGELOG
|
2
2
|
=========
|
3
3
|
|
4
|
+
2.6.1
|
5
|
+
-----
|
6
|
+
|
7
|
+
2015-11-09
|
8
|
+
|
9
|
+
This is a backwards compatible bugfix release.
|
10
|
+
|
11
|
+
* (GH-53) Guard against errors that arise when sync_hosts encounters
|
12
|
+
machines that have been removedfrom the Vagrant file without being
|
13
|
+
destroyed.
|
14
|
+
|
15
|
+
|
4
16
|
2.6.0
|
5
17
|
-----
|
6
18
|
|
@@ -1,8 +1,10 @@
|
|
1
1
|
require 'vagrant'
|
2
|
+
require 'vagrant-hosts/addresses'
|
2
3
|
|
3
4
|
module VagrantHosts
|
4
5
|
module Provisioner
|
5
6
|
class Hosts < Vagrant.plugin('2', :provisioner)
|
7
|
+
include VagrantHosts::Addresses
|
6
8
|
|
7
9
|
def provision
|
8
10
|
@machine.guest.capability(:sync_hosts, @config)
|
@@ -21,9 +23,7 @@ module VagrantHosts
|
|
21
23
|
|
22
24
|
# Gathers every _other_ machine in the vagrant environment which is
|
23
25
|
# running and has a hosts provider.
|
24
|
-
machines_to_provision = env.
|
25
|
-
env.machine(name, provider)
|
26
|
-
end.select do |vm|
|
26
|
+
machines_to_provision = all_machines(env).select do |vm|
|
27
27
|
calling_machine = (vm.name.to_s == machine.name.to_s)
|
28
28
|
running = begin
|
29
29
|
vm.communicate.ready?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-hosts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
4
|
+
version: 2.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adrien Thebo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -99,3 +99,4 @@ signing_key:
|
|
99
99
|
specification_version: 4
|
100
100
|
summary: Manage static DNS on vagrant guests
|
101
101
|
test_files: []
|
102
|
+
has_rdoc: true
|