Vagrantfile: Allow local customization via .Vagrantfile.local

This commit is contained in:
Eric Lippmann 2017-10-18 14:45:58 +02:00
parent 8705056485
commit c3657a5700
1 changed files with 4 additions and 0 deletions

4
Vagrantfile vendored
View File

@ -57,4 +57,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
puppet.manifest_file = "site.pp"
puppet.options = "--parser=future"
end
if File.exists?(".Vagrantfile.local") then
eval(IO.read(".Vagrantfile.local"), binding)
end
end