advertisement

Vagrant: The Oscar Plug-in

60 %
40 %
advertisement
Information about Vagrant: The Oscar Plug-in
Technology

Published on March 13, 2014

Author: JeffScelza

Source: slideshare.net

Description

Presentation given at the Denver Puppet user group. A copy of the files can be found at https://github.com/jscelza/vagrant_oscar_example. The purpose of this presentation was to walk the group thru how i used Vagrant and Oscar to development Puppet modules locally.

Thanks to Adrien Thebo for all his work on the plug-in

https://github.com/adrienthebo/oscar
advertisement

Vagrant: The Oscar Plugin Developing and Testing Puppet Enterprise locally! Jeff Scelza jeffrey.scelza@twcable.com

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/

Add a comment

Related presentations

Presentación que realice en el Evento Nacional de Gobierno Abierto, realizado los ...

In this presentation we will describe our experience developing with a highly dyna...

Presentation to the LITA Forum 7th November 2014 Albuquerque, NM

Un recorrido por los cambios que nos generará el wearabletech en el futuro

Um paralelo entre as novidades & mercado em Wearable Computing e Tecnologias Assis...

Microsoft finally joins the smartwatch and fitness tracker game by introducing the...

Related pages

Vagrant - Technology - documents.mx

$ 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.
Read more

GitHub - nvalentine-puppetlabs/demo-pe3-r10k: Demo ...

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 ...
Read more

Oscar the Photographer1 - Documents - docslide.us

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 ...
Read more

Vagrant Ubuntu images now available. - Jorge's Stompbox

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 ...
Read more

Ubuntu Server - for scale out workloads | Ubuntu

Scale out with Ubuntu Server. ... Just plug in your servers, ... KVM, LXD, Xen, VMware, Vagrant, VirtualBox, ...
Read more

13 Reasons to Deploy With Ubuntu Server (part 3) - Jorge's ...

13 Reasons to Deploy With Ubuntu Server ... Plug in, crank it to Eleven. ... LXC/Containers and Vagrant.
Read more

Eclipse Neon

The Eclipse Automated Error Reporting client can now be integrated into any third-party Eclipse plug-in or ... Paho, Andmore - Eclipse Android ...
Read more

Unable to install plugin on Windows · Issue #10 ...

Unable to install plugin on Windows #10. Closed ... adrienthebo referenced this issue in oscar-stack/vagrant-hosts Jul 14, 2014. Closed ...
Read more

Django Packages : Reusable apps, sites and tools directory

Django Packages is a directory of reusable apps, sites, tools, and more for your Django projects. 3241 packages and counting! 1128 packages compatible with ...
Read more