Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
The Puppet Debugging Kit 
Building Blocks for Exploration and Problem Solving 
Charlie Sharpsteen 
Open Source Support Eng...
Puppet Debugging Kit 
Oscar 
Vagrant
What is Oscar? 
Oscar 
Logic-Less Vagrant Config 
PE Installer 
Psuedo-DNS 
Psuedo-DHCP
What is Oscar? 
Oscar 
vagrant-config_builder 
vagrant-pe_build 
vagrant-hosts 
vagrant-auto_network
What is Oscar? 
Oscar 
vagrant-config_builder 
vagrant-pe_build 
vagrant-hosts 
vagrant-auto_network
Vagrant.configure('2') do |config|! 
config.vm.define 'pe-332-master' do |node|! 
node.vm.box = 'puppetlabs/centos-6.5-64-...
---! 
vms:! 
- name: pe-332-master! 
box: puppetlabs/centos-6.5-64-puppet! 
hostname:! 
pe-332-master.puppetdebug.vlan! 
p...
---! 
vms:! 
- name: pe-332-master! 
box: puppetlabs/centos-6.5-64-puppet! 
hostname:! 
pe-332-master.puppetdebug.vlan! 
p...
What is the Debugging Kit? 
• A set of roles for configuring Oscar environments to run Puppet 
• A custom filter for quick...
Version: 
3.3.2 
pe-332-master-ignored_stuff 
Type: 
Puppet Enterprise 
Role: 
Master
---! 
vms:! 
- name: pe-332-master! 
box: puppetlabs/centos-6.5-64-puppet! 
hostname:! 
pe-332-master.puppetdebug.vlan! 
p...
Demo
Resources 
• http://www.vagrantup.com/ 
• https://github.com/adrienthebo/oscar 
• https://github.com/Sharpie/puppet-debugg...
Upcoming SlideShare
Loading in …5
×

The Puppet Debugging Kit: Building Blocks for Exploration and Problem Solving - PuppetConf 2014

1,310 views

Published on

The Puppet Debugging Kit: Building Blocks for Exploration and Problem Solving - Charlie Sharpsteen, Puppet Labs

Published in: Technology
  • Be the first to comment

The Puppet Debugging Kit: Building Blocks for Exploration and Problem Solving - PuppetConf 2014

  1. 1. The Puppet Debugging Kit Building Blocks for Exploration and Problem Solving Charlie Sharpsteen Open Source Support Engineer, Puppet Labs
  2. 2. Puppet Debugging Kit Oscar Vagrant
  3. 3. What is Oscar? Oscar Logic-Less Vagrant Config PE Installer Psuedo-DNS Psuedo-DHCP
  4. 4. What is Oscar? Oscar vagrant-config_builder vagrant-pe_build vagrant-hosts vagrant-auto_network
  5. 5. What is Oscar? Oscar vagrant-config_builder vagrant-pe_build vagrant-hosts vagrant-auto_network
  6. 6. Vagrant.configure('2') do |config|! config.vm.define 'pe-332-master' do |node|! node.vm.box = 'puppetlabs/centos-6.5-64-puppet'! node.vm.hostname =! 'pe-332-master.puppetdebug.vlan'! ! node.vm.network 'hostonly', auto_network: true! ! node.vm.provision 'hosts'! node.vm.provision 'pe_bootstrap' do |p|! p.role = 'master'! p.version = '3.3.2'! end! end! end ---! vms:! - name: pe-332-master! box: puppetlabs/centos-6.5-64-puppet! hostname:! pe-332-master.puppetdebug.vlan! private_networks:! - {auto_network: true}! provisioners:! - type: hosts! - type: pe_bootstrap! role: master! version: 3.3.2
  7. 7. ---! vms:! - name: pe-332-master! box: puppetlabs/centos-6.5-64-puppet! hostname:! pe-332-master.puppetdebug.vlan! provisioners:! - type: pe_bootstrap! role: master! version: 3.3.2! roles:! - base ! ! - name: pe-332-agent! box: puppetlabs/centos-6.5-64-puppet! hostname:! pe-332-master.puppetdebug.vlan! provisioners:! - type: pe_bootstrap! role: agent! version: 3.3.2! master:! pe-332-master.puppetdebug.vlan! roles:! - base ---! vms:! - name: pe-332-master! box: puppetlabs/centos-6.5-64-puppet! hostname:! pe-332-master.puppetdebug.vlan! private_networks:! - {auto_network: true}! provisioners:! - type: hosts! - type: pe_bootstrap! role: master! version: 3.3.2 ---! roles:! base:! private_networks:! - {auto_network: true}! provisioners:! - type: hosts
  8. 8. ---! vms:! - name: pe-332-master! box: puppetlabs/centos-6.5-64-puppet! hostname:! pe-332-master.puppetdebug.vlan! provisioners:! - type: pe_bootstrap! role: master! version: 3.3.2! roles:! - three! - two! - one! - base! Quirk: The roles array is applied in reverse order! Visually: From bottom to top.
  9. 9. What is the Debugging Kit? • A set of roles for configuring Oscar environments to run Puppet • A custom filter for quickly configuring Puppet Enterprise Installations • Wrapped in a nice workspace designed to be a “git clone and go” toolkit
  10. 10. Version: 3.3.2 pe-332-master-ignored_stuff Type: Puppet Enterprise Role: Master
  11. 11. ---! vms:! - name: pe-332-master! box: puppetlabs/centos-6.5-64-puppet! hostname:! pe-332-master.puppetdebug.vlan! provisioners:! - type: pe_bootstrap! role: master! version: 3.3.2! roles:! - base! ! - name: pe-332-agent! box: puppetlabs/centos-6.5-64-puppet! hostname:! pe-332-master.puppetdebug.vlan! provisioners:! - type: pe_bootstrap! role: agent! version: 3.3.2! master:! pe-332-master.puppetdebug.vlan! roles:! - base ---! vms:! - name: pe-332-master! box: puppetlabs/centos-6.5-64-puppet! debug-kit: true! roles:! - base! ! - name: pe-332-agent! box: puppetlabs/centos-6.5-64-puppet! debug-kit: true! roles:! - base
  12. 12. Demo
  13. 13. Resources • http://www.vagrantup.com/ • https://github.com/adrienthebo/oscar • https://github.com/Sharpie/puppet-debugging-kit • https://vagrantcloud.com/puppetlabs

×