Fully qualify gitignores. Add Vagrantfile.

Fixes #26
This commit is contained in:
Anders Ingemann 2014-02-27 22:58:59 +01:00
parent 7ef63ad072
commit 5693d3e877
2 changed files with 13 additions and 2 deletions

4
.gitignore vendored
View file

@ -1,4 +1,4 @@
*.pyc
# When developing for ec2 `vagrant provision' is quite handy
Vagrantfile
.vagrant
/Vagrantfile
/.vagrant

11
plugins/vagrant/assets/Vagrantfile vendored Normal file
View file

@ -0,0 +1,11 @@
Vagrant::Config.run do |config|
# This Vagrantfile is auto-generated by `vagrant package` to contain
# the MAC address of the box. Custom configuration should be placed in
# the actual `Vagrantfile` in this box.
config.vm.base_mac = "[MAC_ADDRESS]"
end
# Load include vagrant file if it exists after the auto-generated
# so it can override any of the settings
include_vagrantfile = File.expand_path("../include/_Vagrantfile", __FILE__)
load include_vagrantfile if File.exist?(include_vagrantfile)