cloudsidedev / appside

Multitenant environment automation.
http://cloudside.ch
GNU Affero General Public License v3.0
38 stars 7 forks source link

Search `Vagrantfile.local.yml` relative to the `Vagrantfile` #74

Closed ocean90 closed 7 years ago

ocean90 commented 7 years ago

… and load Vagrantfile.local.yml only if the file exists.

Fixes an error when running vagrant global-status --prune

$ vagrant global-status --prune
There was an error loading a Vagrantfile. The file being loaded
and the error message are shown below. This is usually caused by
a syntax error.

Path: /Users/Dominik/Documents/webdev/appflow/Vagrantfile
Line number: 0
Message: Errno::ENOENT: No such file or directory @ rb_sysopen - Vagrantfile.local.yml