Created
March 7, 2016 11:46
-
-
Save edwardgalligan/a79815990f13537379f7 to your computer and use it in GitHub Desktop.
Logic to check for stuff pre-vagrantbox boot pre-provision
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if !File.file?(File.dirname(__FILE__) + '/.vagrant/machines/default/virtualbox/id') && | |
# INSERT EXTRA CONDITIONS HERE | |
puts 'Stuff needed for proper provisioning not found' | |
puts 'Please ensure the proper stuff is in the proper place' | |
exit 1 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment