Presented by 
OpenNebula 
and 
Puppet 
David Lutterkort 
Puppet Labs 
@lutterkort 
lutter@puppetlabs.com
OpenNebulaConf 2014 - Puppet and OpenNebula - David Lutterkort
OpenNebulaConf 2014 - Puppet and OpenNebula - David Lutterkort
Any 
input 
to 
infrastructure 
is 
Presented by 
configura)on
Configura3on 
management: 
managing 
those 
inputs 
Presented by 
over 
)me 
at 
scale
Configura3on 
management: 
managing 
those 
inputs 
Presented by 
over 
)me 
at 
scale
Configura3on 
management: 
managing 
those 
inputs 
Presented by 
over 
3me 
at 
scale
Presented by 
Puppet’s circle of change
Presented by 
A basic manifest 
class webserver { 
package { 'httpd': 
ensure => latest 
} -> 
file { '/etc/httpd/conf.d/local.conf': 
ensure => file, 
mode => 644, 
source => 'puppet:///modules/httpd/local.conf', 
} -> 
service { 'httpd': 
ensure => running, 
enable => true, 
subscribe => File['/etc/httpd/conf.d/local.conf'], 
} 
}
Presented by 
Override via inheritance 
class webserver2 inherits webserver { 
File['/etc/httpd/conf.d/local.conf'] { 
source => 'puppet:///modules/httpd/other-local.conf', 
} 
}
Presented by 
The site-wide manifest 
node host1.example.com { 
class { 'webserver': } 
} 
node host2.example.com { 
class { 'webserver2': } 
} 
node host3.example.com { 
class {'mongodb::server': 
port => 27018 
} 
}
Presented by 
Infrastructure 
as 
Code
Presented by 
http://www.partialhospitalization.com/2010/08/363/
Presented by
Presented by 
Managing cloud resources
puppetlabs/puppetlabs-aws
Presented by 
Instance management 
ec2_instance { 'name-of-instance': 
ensure => present, 
region => 'us-east-1', 
availability_zone => 'us-east-1a', 
image_id => ‘ami-ttylinux', 
instance_type => 't1.micro', 
monitoring => true, 
key_name => 'name-of-existing-key', 
security_groups => ['group1', 'group2'], 
user_data => template('module/user-data.erb') 
}
Presented by 
Managing instance content
Presented by 
Dataflow in Puppet
Presented by 
Certificate signing
Presented by 
Certificate signing
Presented by 
Certificate signing
Presented by 
Certificate signing
Presented by 
Certificate signing 
Who 
checks 
?
Presented by 
Node creation
Presented by 
Node creation
Presented by
Presented by
Presented by
Presented by
Presented by 
Autosign 
script
Certsigner setup 
Master 
• Write autosigning script 
• Configure autosigning script 
Nodes 
• Put secrets into /etc/puppet/csr_attributes.yaml 
ONE Client 
• Pass secret through Userdata 
Presented by
Presented by 
CSR Extension Requests 
UUID pp_uuid 
Instance ID pp_instance_id 
Image Name pp_image_name 
Preshared Key pp_preshared_key 
Role pp_role (still to come) 
Private Private, site-specific attributes
Presented by 
Building images
Presented by 
Building images 
• invent ‘fake’ hostnames 
<image-name>.images.example.com 
• use Puppet at instance launch to ‘personalize’ image
Presented by 
Masterless: puppet apply 
# yum -y install puppet 
# git clone https://git.example.org/manifests 
# export FACTER_hostname=img1.images.example.com 
# puppet apply --modulepath manifests/modules/  
manifests/site.pp 
# rm -rf manifests/
Presented by 
Masterless: puppet apply 
• easy to set up 
• leaves no trace on the Puppet master 
• no PuppetDB 
• no Node Classifier
With master: puppet agent 
• those pesky SSL certificates again 
Presented by 
• pregenerate and copy into builder 
• certsigner + allow_duplicate_certs on master 
• uses full master infrastructure
Managing ONE infrastructure 
Presented by
epost-dev/opennebula-puppet-module
Presented by 
ONE Puppet Module 
one Install ONE Master/Sunstone 
onehost Create ONE Host 
oneimage Create ONE Image 
onetemplate Create ONE template 
onevnet Create ONE net
Provisioning hosts with Razor 
Presented by
Presented by 
Razor in a nutshell 
• iPXE 
• Node Discovery 
• Stay focussed
Presented by 
How it works 
Microkernel sends facts
Presented by 
How it works 
Match Tags
Presented by 
How it works 
Find Policy
Presented by 
How it works 
Basic OS installed 
Managed by Puppet
Presented by 
Moving pieces 
Repo What to install ISO contents 
Task How to install Installer scripts 
Broker How to manage PE agent install 
Tag Where to install Named match rule 
Policy Combine it all Ordered table
Presented by 
Summary 
• Puppet forge for module sharing 
• puppetlabs-aws module 
• mrzarquon’s certsigner 
• epost-dev’s opennebula-puppet-module 
• Razor for flexible provisioning of hardware
Presented by 
Questions ?
Presented by 
Links 
• http://forge.puppetlabs.com 
• puppetlabs/puppetlabs-aws module 
• https://github.com/ahpook/mrzarquon-certsigner/tree/ 
eric0_wip 
• http://watzmann.net/blog/2014/06/puppet-autosign-policy. 
html
Links (cont’d) 
• https://github.com/epost-dev/opennebula-puppet-module 
Presented by 
• https://github.com/puppetlabs/razor-server 
• Puppet Enterprise: 
http://puppetlabs.com/puppet/puppet-enterprise

More Related Content

PDF
Integrating cloud stack with puppet
PDF
Automating CloudStack with Puppet - David Nalley
PPTX
Puppet - an introduction
PDF
Zookeeper In Action
PPTX
Introduction to Puppet Scripting
PPTX
Eddystone Beacons - Physical Web - Giving a URL to All Objects
PDF
Puppet Camp DC 2014: Keynote
ODP
Infrastructure as code with Puppet and Apache CloudStack
Integrating cloud stack with puppet
Automating CloudStack with Puppet - David Nalley
Puppet - an introduction
Zookeeper In Action
Introduction to Puppet Scripting
Eddystone Beacons - Physical Web - Giving a URL to All Objects
Puppet Camp DC 2014: Keynote
Infrastructure as code with Puppet and Apache CloudStack

What's hot (20)

PDF
zookeeperProgrammers
ODP
Puppet and CloudStack
PDF
Cloudy with a Chance of Fireballs: Provisioning and Certificate Management in...
KEY
fog or: How I Learned to Stop Worrying and Love the Cloud
PPTX
Ansible
PPTX
Ufo Ship for AWS ECS
PDF
Building Distributed System with Celery on Docker Swarm
PPTX
Puppet_training
PDF
Managing-Splunk-with-Puppet 31-January-2022.pdf
PDF
Puppet Camp Charlotte 2015: Exporting Resources: There and Back Again
PPT
Zookeeper Introduce
PPTX
Learn you some Ansible for great good!
PDF
PDF
A Introduction of Packer
PDF
Painless ruby deployment on shelly cloud
PPTX
Automation with Packer and TerraForm
PPTX
How to build your own OpenStack distro using Puppet OpenStack
ODP
Introduction to Ansible
PDF
Automated Java Deployments With Rpm
PPTX
Packer, where DevOps begins
zookeeperProgrammers
Puppet and CloudStack
Cloudy with a Chance of Fireballs: Provisioning and Certificate Management in...
fog or: How I Learned to Stop Worrying and Love the Cloud
Ansible
Ufo Ship for AWS ECS
Building Distributed System with Celery on Docker Swarm
Puppet_training
Managing-Splunk-with-Puppet 31-January-2022.pdf
Puppet Camp Charlotte 2015: Exporting Resources: There and Back Again
Zookeeper Introduce
Learn you some Ansible for great good!
A Introduction of Packer
Painless ruby deployment on shelly cloud
Automation with Packer and TerraForm
How to build your own OpenStack distro using Puppet OpenStack
Introduction to Ansible
Automated Java Deployments With Rpm
Packer, where DevOps begins
Ad

Similar to OpenNebulaConf 2014 - Puppet and OpenNebula - David Lutterkort (20)

PDF
Demystifying puppet
PDF
Puppet - Simple Configuration Management
PDF
From SaltStack to Puppet and beyond...
PDF
Integrating Puppet with Cloud Infrastructures-Remco Overdijk
KEY
Puppet for dummies - PHPBenelux UG edition
ODP
Puppet slides for intelligrape
PDF
One-Man Ops
PPTX
PPT
PowerPoint Presentation
PDF
20090514 Introducing Puppet To Sasag
PPTX
Puppetizing Your Organization
PDF
DevOps Braga #6
PPT
Rapid scaling in_the_cloud_with_puppet
PDF
SCM Puppet: from an intro to the scaling
PDF
Developing IT infrastructures with Puppet
PDF
Improving Operations Efficiency with Puppet
PDF
Creating a mature puppet system
PDF
Creating a Mature Puppet System
PDF
A One-Stop Solution for Puppet and OpenStack
Demystifying puppet
Puppet - Simple Configuration Management
From SaltStack to Puppet and beyond...
Integrating Puppet with Cloud Infrastructures-Remco Overdijk
Puppet for dummies - PHPBenelux UG edition
Puppet slides for intelligrape
One-Man Ops
PowerPoint Presentation
20090514 Introducing Puppet To Sasag
Puppetizing Your Organization
DevOps Braga #6
Rapid scaling in_the_cloud_with_puppet
SCM Puppet: from an intro to the scaling
Developing IT infrastructures with Puppet
Improving Operations Efficiency with Puppet
Creating a mature puppet system
Creating a Mature Puppet System
A One-Stop Solution for Puppet and OpenStack
Ad

More from OpenNebula Project (20)

PDF
OpenNebulaConf2019 - Welcome and Project Update - Ignacio M. Llorente, Rubén ...
PDF
OpenNebulaConf2019 - Building Virtual Environments for Security Analyses of C...
PDF
OpenNebulaConf2019 - CORD and Edge computing with OpenNebula - Alfonso Aureli...
PDF
OpenNebulaConf2019 - 6 years (+) OpenNebula - Lessons learned - Sebastian Man...
PDF
OpenNebulaConf2019 - Performant and Resilient Storage the Open Source & Linux...
PDF
OpenNebulaConf2019 - Image Backups in OpenNebula - Momčilo Medić - ITAF
PDF
OpenNebulaConf2019 - How We Use GOCA to Manage our OpenNebula Cloud - Jean-Ph...
PDF
OpenNebulaConf2019 - Crytek: A Video gaming Edge Implementation "on the shoul...
PDF
Replacing vCloud with OpenNebula
PDF
NTS: What We Do With OpenNebula - and Why We Do It
PDF
OpenNebula from the Perspective of an ISP
PDF
NTS CAPTAIN / OpenNebula at Julius Blum GmbH
PDF
Performant and Resilient Storage: The Open Source & Linux Way
PDF
NetApp Hybrid Cloud with OpenNebula
PPTX
NSX with OpenNebula - upcoming 5.10
PDF
Security for Private Cloud Environments
PDF
CheckPoint R80.30 Installation on OpenNebula
PDF
DE-CIX: CloudConnectivity
PDF
PDF
Cloud Disaggregation with OpenNebula
OpenNebulaConf2019 - Welcome and Project Update - Ignacio M. Llorente, Rubén ...
OpenNebulaConf2019 - Building Virtual Environments for Security Analyses of C...
OpenNebulaConf2019 - CORD and Edge computing with OpenNebula - Alfonso Aureli...
OpenNebulaConf2019 - 6 years (+) OpenNebula - Lessons learned - Sebastian Man...
OpenNebulaConf2019 - Performant and Resilient Storage the Open Source & Linux...
OpenNebulaConf2019 - Image Backups in OpenNebula - Momčilo Medić - ITAF
OpenNebulaConf2019 - How We Use GOCA to Manage our OpenNebula Cloud - Jean-Ph...
OpenNebulaConf2019 - Crytek: A Video gaming Edge Implementation "on the shoul...
Replacing vCloud with OpenNebula
NTS: What We Do With OpenNebula - and Why We Do It
OpenNebula from the Perspective of an ISP
NTS CAPTAIN / OpenNebula at Julius Blum GmbH
Performant and Resilient Storage: The Open Source & Linux Way
NetApp Hybrid Cloud with OpenNebula
NSX with OpenNebula - upcoming 5.10
Security for Private Cloud Environments
CheckPoint R80.30 Installation on OpenNebula
DE-CIX: CloudConnectivity
Cloud Disaggregation with OpenNebula

Recently uploaded (20)

PDF
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
PPTX
Custom Battery Pack Design Considerations for Performance and Safety
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PDF
STKI Israel Market Study 2025 version august
PDF
Comparative analysis of machine learning models for fake news detection in so...
PPTX
AI IN MARKETING- PRESENTED BY ANWAR KABIR 1st June 2025.pptx
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
sustainability-14-14877-v2.pddhzftheheeeee
PDF
Improvisation in detection of pomegranate leaf disease using transfer learni...
PDF
The influence of sentiment analysis in enhancing early warning system model f...
PPTX
Build Your First AI Agent with UiPath.pptx
PDF
Consumable AI The What, Why & How for Small Teams.pdf
PPTX
Modernising the Digital Integration Hub
PDF
UiPath Agentic Automation session 1: RPA to Agents
PPTX
TEXTILE technology diploma scope and career opportunities
PDF
OpenACC and Open Hackathons Monthly Highlights July 2025
PPT
Geologic Time for studying geology for geologist
PDF
CloudStack 4.21: First Look Webinar slides
PDF
Zenith AI: Advanced Artificial Intelligence
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
Custom Battery Pack Design Considerations for Performance and Safety
NewMind AI Weekly Chronicles – August ’25 Week III
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
STKI Israel Market Study 2025 version august
Comparative analysis of machine learning models for fake news detection in so...
AI IN MARKETING- PRESENTED BY ANWAR KABIR 1st June 2025.pptx
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
sustainability-14-14877-v2.pddhzftheheeeee
Improvisation in detection of pomegranate leaf disease using transfer learni...
The influence of sentiment analysis in enhancing early warning system model f...
Build Your First AI Agent with UiPath.pptx
Consumable AI The What, Why & How for Small Teams.pdf
Modernising the Digital Integration Hub
UiPath Agentic Automation session 1: RPA to Agents
TEXTILE technology diploma scope and career opportunities
OpenACC and Open Hackathons Monthly Highlights July 2025
Geologic Time for studying geology for geologist
CloudStack 4.21: First Look Webinar slides
Zenith AI: Advanced Artificial Intelligence

OpenNebulaConf 2014 - Puppet and OpenNebula - David Lutterkort