From 941d9f0c809585f7e93f5cfb6ae88d4e23a1ea73 Mon Sep 17 00:00:00 2001 From: Leonid Makarov Date: Thu, 9 Apr 2015 16:47:38 -0400 Subject: [PATCH] Hotfix v0.11.1: added check for empty hosts in vagrant.yml --- CHANGELOG.md | 4 ++++ VERSION | 2 +- Vagrantfile | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 38f3527..f29f890 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.11.1 (2015-04-09) + +- Hotfix: added check for empty hosts in vagrant.yml + ## 0.11.0 (2015-04-09) - Using semantic versioning and tracking changes in the CHANGELOG.md file diff --git a/VERSION b/VERSION index 142464b..027934e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.11.0 \ No newline at end of file +0.11.1 \ No newline at end of file diff --git a/Vagrantfile b/Vagrantfile index 58f2c20..6be8057 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -52,9 +52,9 @@ Vagrant.configure("2") do |config| # The default box private network IP is 192.168.10.10 # Configure additional IP addresses in vagrant.yml - for host in vconfig['hosts'] do + vconfig['hosts'].each do |host| config.vm.network "private_network", ip: host['ip'] - end + end unless vconfig['hosts'].nil? #################################################################### ## Synced folders configuration ##