vagrant-yarrs-and-yamls 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vagrant-yarrs-and-yamls/api.rb +2 -2
- data/lib/vagrant-yarrs-and-yamls/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4827f2adbb6b62564cc348077b3a13ebf28869ac
|
4
|
+
data.tar.gz: 34e8bdb21d75adb2716367b092af997d7a671498
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c17c77066f4901386f5bb3b39f1d829c69ec127e5f8212fcdc4f8bd4813ad574999ee68c9003c2cf11d4428c4c2962429a61864a0c3fe1bca7458db275da5e7
|
7
|
+
data.tar.gz: 80c5b021abe7dc77b380e75d03d590ceb1232acfb44d285f568caa1ce2181e571139e4643ffe43dce0b177ec159999cf7f4c4047404520df53d98c47a552fbb0
|
@@ -45,10 +45,10 @@ end
|
|
45
45
|
def apply_vagrant_hostupdater(node, settings)
|
46
46
|
if defined? VagrantPlugins::HostsUpdater && settings["hostname"] && settings["ip"]
|
47
47
|
sites = get_config_part('sites', settings)
|
48
|
-
|
48
|
+
puts "yarrs-and-yamls: updating your host file with: #{sites}"
|
49
49
|
node.hostsupdater.aliases = sites
|
50
50
|
else
|
51
|
-
|
51
|
+
puts "yarrs-and-yamls: vagrant-hostsupdater not installed. Please update your /etc/hosts file for: #{settings}"
|
52
52
|
end
|
53
53
|
end
|
54
54
|
|