Published on March 13, 2014
Vagrant: The Oscar Plugin Developing and Testing Puppet Enterprise locally! Jeff Scelza firstname.lastname@example.org
What is Vagrant? ● Marketing: Create and configure lightweight, reproducible and portable development environments ● Operation: Provides a disposable environment and consistent workflow for developing and testing infrastructure management scripts ● Developer: Isolates dependencies and their configuration within a single disposable consistent environment, without sacrificing any of the tool you use.
So...What is Oscar? ● Is a set of Vagrant plugins and templates that build up a full Puppet Enterprise environment based on top of Vagrant ● Created by Andrien Thebo
What plugins make up Oscar? ● auto_network ○ Automatically configure Vagrant private network interfaces ○ File acting as DHCP list ○ located at ~/.vagrant.d/auto_network ○ Yaml based ● config_builder ○ Configure and manage your Vagrant environment with data ○ Provides an interface to the Vagrant configuration constructs in a local free manager ○ Yaml based
What plugins make up Oscar? ● hosts ○ Manages vagrant guest local DNS resolution ○ Using listing from auto_network to set up /etc/hosts on each guest ○ allows the addition hostname in /etc/hosts ● pe_build ○ Manages the downloading and rapid setup Puppet Enterprise ○ Provisioner based set of configuration to set up Puppet
Oscar: Installing ● Prerequisite ○ Install VirtualBox ○ Install Vagrant ● Setup vagrant plugin install oscar
Oscar: commands ● Generate a working environment from template vagrant oscar init ● Initialize current working directory with a sub Vagrantfile that loads Oscar and generate generic configs vagrant oscar init-vms
Software Versions Used: ● Oracle VM Virtualbox: 4.3.6 ● Vagrant: 1.4.2 ● Oscar: 0.3.1 ● vagrant-config_builder: 0.6.0 ● vagrant-hosts: 1.2 ● vagrant-pe_build: 0.8.4
Oscar: Vagrantfile used to look like
Oscar: Configuring and Using It ● What do the files look like? ● What cool thing can we do? ● How do can I code locally and use a master/slave configuration?
Other plugins I use: ● cachier ○ A plug-in to limit about of coffee you drink waiting on a VM to build ○ Caches gem, rpm, apt, and other Guest packages under ~/. vagrant ○
Helpful Links and References: ● https://github.com/adrienthebo/oscar ● https://www.virtualbox.org/ ● ● Plug-ins ○ https://github.com/adrienthebo/vagrant-auto_network ○ https://github.com/adrienthebo/vagrant-hosts ○ https://github.com/adrienthebo/vagrant-config_builder ○ https://github.com/adrienthebo/vagrant-pe_build ○ https://github.com/fgrehm/vagrant-cachier ● Other Presentations and documents ○ http://www.slideshare.net/PuppetLabs/oscar-rapid-iteration-with-vagrant-and-puppet-enterprise ○ http://www.youtube.com/watch?v=1TgGQjjLDXg ○ http://fgrehm.viewdocs.io/vagrant-cachier ○ http://puppet-vagrant-boxes.puppetlabs.com/
$ vagrant box add base http://files.vagrantup.com/lucid32.box $ vagrant init $ vagrant up . ... Vagrant: The Oscar Plug-in. Intro to vagrant. Login or Join.
demo-pe3-r10k - Demo environment ... This includes a custom pre-run command in puppet.conf and an MCollective plug-in to allow r10k ... vagrant-oscar ...
Oscar.fh11 9/17/04 10:30 AM Page 1 C M Y CM MY CY CMY K Prayers: A navy solider praying on an Indoesian warship on the sea Sea of Dili, 2000. History of ...
Plug in, crank it to Eleven. About ... Vagrant Ubuntu Images Now Available. Just in case you missed it we now have soon-to-be official Vagrant Ubuntu cloud ...
Scale out with Ubuntu Server. ... Just plug in your servers, ... KVM, LXD, Xen, VMware, Vagrant, VirtualBox, ...
13 Reasons to Deploy With Ubuntu Server ... Plug in, crank it to Eleven. ... LXC/Containers and Vagrant.
The Eclipse Automated Error Reporting client can now be integrated into any third-party Eclipse plug-in or ... Paho, Andmore - Eclipse Android ...
Unable to install plugin on Windows #10. Closed ... adrienthebo referenced this issue in oscar-stack/vagrant-hosts Jul 14, 2014. Closed ...
Django Packages is a directory of reusable apps, sites, tools, and more for your Django projects. 3241 packages and counting! 1128 packages compatible with ...