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
● Opera...
So...What is Oscar?
● Is a set of Vagrant plugins and templates that build up a full Puppet
Enterprise environment based o...
What plugins make up Oscar?
● auto_network
○ Automatically configure Vagrant private network interfaces
○ File acting as D...
What plugins make up Oscar?
● hosts
○ Manages vagrant guest local DNS resolution
○ Using listing from auto_network to set ...
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 w...
Software Versions Used:
● Oracle VM Virtualbox: 4.3.6
● Vagrant: 1.4.2
● Oscar: 0.3.1
● vagrant-config_builder: 0.6.0
● va...
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 an...
Other plugins I use:
● cachier
○ A plug-in to limit about of coffee you drink waiting on a VM to
build
○ Caches gem, rpm, ...
Helpful Links and References:
● https://github.com/adrienthebo/oscar
● https://www.virtualbox.org/
●
● Plug-ins
○ https://...
Upcoming SlideShare
Loading in …5
×

Vagrant: The Oscar Plug-in

1,078 views
833 views

Published on

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

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,078
On SlideShare
0
From Embeds
0
Number of Embeds
50
Actions
Shares
0
Downloads
9
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Vagrant: The Oscar Plug-in

  1. 1. Vagrant: The Oscar Plugin Developing and Testing Puppet Enterprise locally! Jeff Scelza jeffrey.scelza@twcable.com
  2. 2. 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.
  3. 3. 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
  4. 4. 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
  5. 5. 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
  6. 6. Oscar: Installing ● Prerequisite ○ Install VirtualBox ○ Install Vagrant ● Setup vagrant plugin install oscar
  7. 7. 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
  8. 8. 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
  9. 9. Oscar: Vagrantfile used to look like
  10. 10. 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?
  11. 11. 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 ○
  12. 12. 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/

×