Send the link below via email or IMCopy
Present to your audienceStart remote presentation
- Invited audience members will follow you as you navigate and present
- People invited to a presentation do not need a Prezi account
- This link expires 10 minutes after you close the presentation
- A maximum of 30 users can follow your presentation
- Learn more about this feature in our knowledge base article
Introduction to Puppet
Transcript of Introduction to Puppet
What is Puppet Enterprise by PuppetLabsInc
“ssh in a for loop is not a solution
– Luke Kanies
Puppet is IT automation software that helps system administrators manage infrastructure throughout its lifecycle, from provisioning and configuration to orchestration and reporting.
- you can easily automate repetitive tasks,
- quickly deploy critical applications,
- proactively manage change, scaling from 10s of servers to 1000s, on-premise or in the cloud.
What is Puppet ? A Puppet Labs Definition
before we look at a more complicated problem,
lets first look at what
a IT infrastructure is
what it is made up of
a collection of Resources
acting in concert
to provide a service
dynamic, scalable, complex
the challenge for us as
is how to manage this
configure apps, services, daemons
I love scripting and I am
a perl geek
all of us have used
scripting at some point,
and we know that they
tend to be
less documented, published
images ? I can
sure, golden images
are nice. However..
take up space
are difficult to update
require considerable efforts and downtimes to update
easy to lose configuration detail
ssh port update example
is there a single tool which is more flexible,
reusable, and is easier to manage the
updates ? Can it make my life easier
and help me manage this ever growing
infrastructure without loosing my sleep?
You guessed it right !
lets look at what it is...
Puppet automates tasks at any stage of the IT infrastructure lifecycle, including:
Provisioning and Orchastration
How Puppet Does it?
Define the desired state of the infrastructure's configuration using Puppet's declarative configuration language.
Simulate configuration changes before enforcing them.
Enforce the deployed desired state automatically, correcting any configuration drift.
Report on the differences between actual and desired states and any changes made enforcing the desired state.
What, now How
apply as many times, same results
e.g. Create user
e.g. useradd, adduser
Resource Abstraction Layer
Client - Server
lets begin with
a small example
meera has bought a shiny new computer
what does she do next?
Just a computer with OS does
not get her started
she creates a user
installs the browser that she wants,
and some apps .....
sets up email client
Adds some media
It takes her a few days
and a lot of coffees to
get her system setup
just as she wants it....
Reinventing the Wheel
Infrastructure as a Code Advantage
Editing and Refactoring tools
Puppet was created by Luke Kanies in 2005, who founded Puppet Labs
Puppet is written in Ruby and has its own DSL
Lets first try to understand the
problem statement that Puppet
attempts to solve
Now that we understand the
problem, lets look at how we
could solve it