Loading presentation...

Present Remotely

Send the link below via email or IM

Copy

Present to your audience

Start 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

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.

DeleteCancel

Make your likes visible on Facebook?

Connect your Facebook account to Prezi and let your likes appear on your timeline.
You can change this under Settings & Account at any time.

No, thanks

Introduction to Puppet

No description
by

Initcron Training

on 27 January 2016

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Introduction to Puppet

Introduction to Puppet
What is Puppet Enterprise by PuppetLabsInc
“ssh in a for loop is not a solution
– Luke Kanies

Puppet
Puppet is IT automation software that helps system administrators manage infrastructure throughout its lifecycle, from provisioning and configuration to orchestration and reporting.

Using Puppet,
- 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.
src: http://puppetlabs.com/puppet/what-is-puppet/
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
Infrastructure
a collection of Resources
file
package
service
user

group
cron
exec
notify
acting in concert
to provide a service
is
evolves
DC 1
DC 2
DC 3

dynamic, scalable, complex
devops
the challenge for us as
is how to manage this
repetitive
install OS
base configurations
create user
install apps
configure apps, services, daemons
integration
change management
is
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
ad hoc
less documented, published
hardly reused
not scalable
inflexible
well, how
about golden
images ? I can
create those...
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
Golden Images
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 !
thats what
Puppet
is for.

lets look at what it is...

Puppet automates tasks at any stage of the IT infrastructure lifecycle, including:
Provisioning and Orchastration
Configuration Management
Integration
what
How Puppet Does it?
Define
Define the desired state of the infrastructure's configuration using Puppet's declarative configuration language.
Simulate
Simulate configuration changes before enforcing them.
Enforce
Enforce the deployed desired state automatically, correcting any configuration drift.
Report
Report on the differences between actual and desired states and any changes made enforcing the desired state.
how
Declarative
What, now How
is
Idempotent
apply as many times, same results
is
Resources
What
e.g. Create user
Providers
How
e.g. useradd, adduser
Resource Abstraction Layer
RAL
Deployment
Master
Node
Node
Node
Standalone
Client - Server
Pull Based
Facts
Catalogue
Report
Node
Master
Reporting
Tools
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
profile
installs the browser that she wants,
and some apps .....
sets up email client
Adds some media
installs social
networking apps
It takes her a few days
and a lot of coffees to
get her system setup
just as she wants it....
Configuration Management...
Reinventing the Wheel
Infrastructure as a Code Advantage
Editing and Refactoring tools
Version Control
Tests
Pair Programming
Code Reviews
Operating Model
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
Full transcript