Generate Vagrant boxes with packer.
You have the choice between these flavors:
debian-7-amd64-plain: Minimalistic Debian with Virtualbox-additions where applicable.debian-7-amd64-default: Like above, plusgit,rsync,rubyandpuppet.debian-7-amd64-cm: Like above, plus CM framework dependencies.debian-8-amd64-plain: Debian-8 Jessie incarnation of the abovedebian-8-amd64-default: Debian-8 Jessie incarnation of the aboveubuntu-1504-plain: Ubuntu Vivid Vervet (15.04) incarnation of the aboveubuntu-1504-default: Ubuntu Vivid Vervet (15.04) incarnation of the abovealpine-3.3.1-x86_64-default- Alpine Linux box with basic functionality
Boxes are built and released on Vagrant Cloud for virtualbox and aws.
Example Vagrantfile:
Vagrant.configure('2') do |config|
config.vm.box = 'cargomedia/debian-7-amd64-default'
endInstall dependencies:
bundle install
Download required puppet modules using librarian-puppet:
cd puppet
bundle exec librarian-puppet install
Rake parameters:
- builder: A list of builders to use (Default: all builders)
- aws_key_id: AWS key id
- aws_key_secret: AWS key secret
- vagrant_cloud_username: Vagrant Cloud username
- vagrant_cloud_access_token: Vagrant Cloud access token
bundle exec rake build # Build all boxes
bundle exec rake spec # Run serverspec tests (virtualbox build only!)
bundle exec rake release # Release boxes to S3 and Vagrant Cloud