SlideShare a Scribd company logo
Introduction to Puppet
  Habeeb Rahman | hrahman@apigee.com | pk.habi@gmail.com
pre puppet/config management era
manual Installation
login and perform installation/config changes
ad hoc scripts/tools
not scalable
everyone solving same problems their own way
boring
puppet era
mature tools
sharing
opensource
infrastructure as a code
version controlled
what?
                       Vanilla Server




                                        Your desired
 vanilla server   apply puppet           application
                                           server




     Before        Transformation           After
how?    (1/2)




master-agent mode
                             puppet
                             master




   puppet agent   puppet agent        puppet agent   puppet agent
    (server 1)     (server 2)          (server 3)     (server 'n')
how?   (2/2)




standalone mode


                  puppet apply




                   puppet
                  (server 1)
components
facter & facts
puppet language
resources
manifests
classes
templates
facter & facts

puppet uses facter to gather information
about the host system
puppet language
● DSL
● ruby
resources

● the building blocks
● model system configurations
● built-in resources
  user { 'dave':

      ensure => 'present',

      home => '/home/dave',

      shell => '/bin/zsh'

  }


● puppet describe -s user
manifests
puppet programs are called “manifests”
file extension: .pp
classes
● describe one part of what makes up a
  system’s identity
● not object-oriented programming 'class'
templates
puppet uses ruby erb templating system

file {'/etc/foo.conf':
     ensure => file,
     require => Package['foo'],
     content => template('foo/foo.conf.erb'),
 }
how does it all fit together?
catalog
puppet help
puppet describe
  prints help about puppet resource types, providers, and metaparameters


puppet help <subcommand>
  help about puppet commands
learning
http://docs.puppetlabs.com/learning/
Ad

More Related Content

What's hot (20)

Smart Boards
Smart BoardsSmart Boards
Smart Boards
tech4101
 
Educational Portal
Educational PortalEducational Portal
Educational Portal
Khouloud Ben Cheikh
 
Blended Learning Models
Blended Learning ModelsBlended Learning Models
Blended Learning Models
sdonaton
 
Bulletin board-presentation-by knaix
Bulletin board-presentation-by knaixBulletin board-presentation-by knaix
Bulletin board-presentation-by knaix
Alvin Lalong-isip
 
WEB CONFERENCING
WEB CONFERENCINGWEB CONFERENCING
WEB CONFERENCING
RobbySahoo
 
Microsoft Office for Education
Microsoft Office for EducationMicrosoft Office for Education
Microsoft Office for Education
Lee Stott
 
What is a smart board
What is a smart boardWhat is a smart board
What is a smart board
Patrick Alepuyo
 
Web technology practical list
Web technology practical listWeb technology practical list
Web technology practical list
desaipratu10
 
Master page in Asp.net
Master page in Asp.netMaster page in Asp.net
Master page in Asp.net
RupinderjitKaur9
 
SEMINAR
SEMINARSEMINAR
SEMINAR
Amrita Chandran
 
LABRARY MANAGEMENT SYSTEM By ARPIT TRIPATHI
LABRARY MANAGEMENT SYSTEM By ARPIT TRIPATHILABRARY MANAGEMENT SYSTEM By ARPIT TRIPATHI
LABRARY MANAGEMENT SYSTEM By ARPIT TRIPATHI
Arpit Tripathi
 
Document Object Model
Document Object ModelDocument Object Model
Document Object Model
Mayur Mudgal
 
Library management system project report II..pdf
Library management system project report II..pdfLibrary management system project report II..pdf
Library management system project report II..pdf
Kamal Acharya
 
Google Docs Tutorial
Google Docs TutorialGoogle Docs Tutorial
Google Docs Tutorial
Mike Glennon
 
Introduction to PHP.ppt
Introduction to PHP.pptIntroduction to PHP.ppt
Introduction to PHP.ppt
SanthiNivas
 
Effective web navigation
Effective web navigationEffective web navigation
Effective web navigation
ananda gunadharma
 
LESSON PLAN COMPONENTS.pptx
LESSON PLAN COMPONENTS.pptxLESSON PLAN COMPONENTS.pptx
LESSON PLAN COMPONENTS.pptx
Wai Mar Phyo
 
Maximizing the use of Overhead projector
Maximizing the use of Overhead  projectorMaximizing the use of Overhead  projector
Maximizing the use of Overhead projector
Lorie Jane Letada
 
Methods of teaching
Methods of teachingMethods of teaching
Methods of teaching
christenashantaram
 
Google Docs Presentation (CS 1)
Google Docs Presentation (CS 1)Google Docs Presentation (CS 1)
Google Docs Presentation (CS 1)
Avni Patel
 
Smart Boards
Smart BoardsSmart Boards
Smart Boards
tech4101
 
Blended Learning Models
Blended Learning ModelsBlended Learning Models
Blended Learning Models
sdonaton
 
Bulletin board-presentation-by knaix
Bulletin board-presentation-by knaixBulletin board-presentation-by knaix
Bulletin board-presentation-by knaix
Alvin Lalong-isip
 
WEB CONFERENCING
WEB CONFERENCINGWEB CONFERENCING
WEB CONFERENCING
RobbySahoo
 
Microsoft Office for Education
Microsoft Office for EducationMicrosoft Office for Education
Microsoft Office for Education
Lee Stott
 
Web technology practical list
Web technology practical listWeb technology practical list
Web technology practical list
desaipratu10
 
LABRARY MANAGEMENT SYSTEM By ARPIT TRIPATHI
LABRARY MANAGEMENT SYSTEM By ARPIT TRIPATHILABRARY MANAGEMENT SYSTEM By ARPIT TRIPATHI
LABRARY MANAGEMENT SYSTEM By ARPIT TRIPATHI
Arpit Tripathi
 
Document Object Model
Document Object ModelDocument Object Model
Document Object Model
Mayur Mudgal
 
Library management system project report II..pdf
Library management system project report II..pdfLibrary management system project report II..pdf
Library management system project report II..pdf
Kamal Acharya
 
Google Docs Tutorial
Google Docs TutorialGoogle Docs Tutorial
Google Docs Tutorial
Mike Glennon
 
Introduction to PHP.ppt
Introduction to PHP.pptIntroduction to PHP.ppt
Introduction to PHP.ppt
SanthiNivas
 
LESSON PLAN COMPONENTS.pptx
LESSON PLAN COMPONENTS.pptxLESSON PLAN COMPONENTS.pptx
LESSON PLAN COMPONENTS.pptx
Wai Mar Phyo
 
Maximizing the use of Overhead projector
Maximizing the use of Overhead  projectorMaximizing the use of Overhead  projector
Maximizing the use of Overhead projector
Lorie Jane Letada
 
Google Docs Presentation (CS 1)
Google Docs Presentation (CS 1)Google Docs Presentation (CS 1)
Google Docs Presentation (CS 1)
Avni Patel
 

Viewers also liked (20)

3 Steps to Expand DevOps and Automation Throughout the Enterprise
3 Steps to Expand DevOps and Automation Throughout the Enterprise3 Steps to Expand DevOps and Automation Throughout the Enterprise
3 Steps to Expand DevOps and Automation Throughout the Enterprise
Puppet
 
Puppet overview
Puppet overviewPuppet overview
Puppet overview
joshbeard
 
The importance of puppets
The importance of puppetsThe importance of puppets
The importance of puppets
Kokilavaani Narayanan
 
Puppets show
Puppets showPuppets show
Puppets show
mahendra kumar
 
PuppetConf 2017: Kubernetes in the Cloud w/ Puppet + Google Container Engine-...
PuppetConf 2017: Kubernetes in the Cloud w/ Puppet + Google Container Engine-...PuppetConf 2017: Kubernetes in the Cloud w/ Puppet + Google Container Engine-...
PuppetConf 2017: Kubernetes in the Cloud w/ Puppet + Google Container Engine-...
Puppet
 
Chef Delivery
Chef DeliveryChef Delivery
Chef Delivery
Chef
 
Chef Fundamentals Training Series Module 6: Roles, Environments, Community Co...
Chef Fundamentals Training Series Module 6: Roles, Environments, Community Co...Chef Fundamentals Training Series Module 6: Roles, Environments, Community Co...
Chef Fundamentals Training Series Module 6: Roles, Environments, Community Co...
Chef Software, Inc.
 
Puppets
PuppetsPuppets
Puppets
JEENA AEJY
 
Introduction to chef
Introduction to chefIntroduction to chef
Introduction to chef
Damith Kothalawala
 
Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...
Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...
Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...
Edureka!
 
STIG Compliance and Remediation with Ansible
STIG Compliance and Remediation with AnsibleSTIG Compliance and Remediation with Ansible
STIG Compliance and Remediation with Ansible
Ansible
 
Compliance Automation Workshop
Compliance Automation WorkshopCompliance Automation Workshop
Compliance Automation Workshop
Chef
 
Survey: Frozen Yogurt Market in India (2013)
Survey: Frozen Yogurt Market in India (2013)Survey: Frozen Yogurt Market in India (2013)
Survey: Frozen Yogurt Market in India (2013)
Chef at Large
 
Infrastructure Automation with Chef
Infrastructure Automation with Chef Infrastructure Automation with Chef
Infrastructure Automation with Chef
REAN Cloud
 
Introduction to Chef
Introduction to ChefIntroduction to Chef
Introduction to Chef
Knoldus Inc.
 
Ansible is the simplest way to automate. MoldCamp, 2015
Ansible is the simplest way to automate. MoldCamp, 2015Ansible is the simplest way to automate. MoldCamp, 2015
Ansible is the simplest way to automate. MoldCamp, 2015
Alex S
 
Ansible
AnsibleAnsible
Ansible
Vishal Yadav
 
Ansible tips & tricks
Ansible tips & tricksAnsible tips & tricks
Ansible tips & tricks
bcoca
 
Ansible Introduction
Ansible Introduction Ansible Introduction
Ansible Introduction
Robert Reiz
 
Ansible presentation
Ansible presentationAnsible presentation
Ansible presentation
John Lynch
 
3 Steps to Expand DevOps and Automation Throughout the Enterprise
3 Steps to Expand DevOps and Automation Throughout the Enterprise3 Steps to Expand DevOps and Automation Throughout the Enterprise
3 Steps to Expand DevOps and Automation Throughout the Enterprise
Puppet
 
Puppet overview
Puppet overviewPuppet overview
Puppet overview
joshbeard
 
PuppetConf 2017: Kubernetes in the Cloud w/ Puppet + Google Container Engine-...
PuppetConf 2017: Kubernetes in the Cloud w/ Puppet + Google Container Engine-...PuppetConf 2017: Kubernetes in the Cloud w/ Puppet + Google Container Engine-...
PuppetConf 2017: Kubernetes in the Cloud w/ Puppet + Google Container Engine-...
Puppet
 
Chef Delivery
Chef DeliveryChef Delivery
Chef Delivery
Chef
 
Chef Fundamentals Training Series Module 6: Roles, Environments, Community Co...
Chef Fundamentals Training Series Module 6: Roles, Environments, Community Co...Chef Fundamentals Training Series Module 6: Roles, Environments, Community Co...
Chef Fundamentals Training Series Module 6: Roles, Environments, Community Co...
Chef Software, Inc.
 
Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...
Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...
Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...
Edureka!
 
STIG Compliance and Remediation with Ansible
STIG Compliance and Remediation with AnsibleSTIG Compliance and Remediation with Ansible
STIG Compliance and Remediation with Ansible
Ansible
 
Compliance Automation Workshop
Compliance Automation WorkshopCompliance Automation Workshop
Compliance Automation Workshop
Chef
 
Survey: Frozen Yogurt Market in India (2013)
Survey: Frozen Yogurt Market in India (2013)Survey: Frozen Yogurt Market in India (2013)
Survey: Frozen Yogurt Market in India (2013)
Chef at Large
 
Infrastructure Automation with Chef
Infrastructure Automation with Chef Infrastructure Automation with Chef
Infrastructure Automation with Chef
REAN Cloud
 
Introduction to Chef
Introduction to ChefIntroduction to Chef
Introduction to Chef
Knoldus Inc.
 
Ansible is the simplest way to automate. MoldCamp, 2015
Ansible is the simplest way to automate. MoldCamp, 2015Ansible is the simplest way to automate. MoldCamp, 2015
Ansible is the simplest way to automate. MoldCamp, 2015
Alex S
 
Ansible tips & tricks
Ansible tips & tricksAnsible tips & tricks
Ansible tips & tricks
bcoca
 
Ansible Introduction
Ansible Introduction Ansible Introduction
Ansible Introduction
Robert Reiz
 
Ansible presentation
Ansible presentationAnsible presentation
Ansible presentation
John Lynch
 
Ad

Similar to Introduction to puppet (20)

Introduction to Puppet Scripting
Introduction to Puppet ScriptingIntroduction to Puppet Scripting
Introduction to Puppet Scripting
Achieve Internet
 
Developing IT infrastructures with Puppet
Developing IT infrastructures with PuppetDeveloping IT infrastructures with Puppet
Developing IT infrastructures with Puppet
Alessandro Franceschi
 
Puppet quick start guide
Puppet quick start guidePuppet quick start guide
Puppet quick start guide
Suhan Dharmasuriya
 
A Fabric/Puppet Build/Deploy System
A Fabric/Puppet Build/Deploy SystemA Fabric/Puppet Build/Deploy System
A Fabric/Puppet Build/Deploy System
adrian_nye
 
Puppet_training
Puppet_trainingPuppet_training
Puppet_training
Afroz Hussain
 
Chef vs puppet
Chef vs puppetChef vs puppet
Chef vs puppet
Sandeep Singh
 
Muraliupdatedpersona150716
Muraliupdatedpersona150716Muraliupdatedpersona150716
Muraliupdatedpersona150716
Murali Krishna R
 
Consistent Development Environment using Vagrant and Chef
Consistent Development Environment using Vagrant and ChefConsistent Development Environment using Vagrant and Chef
Consistent Development Environment using Vagrant and Chef
Gerald Villorente
 
How to? Drupal developer toolkit. Dennis Povshedny.
How to? Drupal developer toolkit. Dennis Povshedny.How to? Drupal developer toolkit. Dennis Povshedny.
How to? Drupal developer toolkit. Dennis Povshedny.
DrupalCampDN
 
Muraliupdatedpersonal091215
Muraliupdatedpersonal091215Muraliupdatedpersonal091215
Muraliupdatedpersonal091215
Murali Krishna R
 
Adventures in Laravel 5 SunshinePHP 2016 Tutorial
Adventures in Laravel 5 SunshinePHP 2016 TutorialAdventures in Laravel 5 SunshinePHP 2016 Tutorial
Adventures in Laravel 5 SunshinePHP 2016 Tutorial
Joe Ferguson
 
Puppet slides for intelligrape
Puppet slides for intelligrapePuppet slides for intelligrape
Puppet slides for intelligrape
Sharad Aggarwal
 
Python_for_Visual_Effects_and_Animation_Pipelines
Python_for_Visual_Effects_and_Animation_PipelinesPython_for_Visual_Effects_and_Animation_Pipelines
Python_for_Visual_Effects_and_Animation_Pipelines
Russell Darling
 
DevOps Automation with Puppet Bolt & Puppet Enterprise
DevOps Automation with Puppet Bolt & Puppet EnterpriseDevOps Automation with Puppet Bolt & Puppet Enterprise
DevOps Automation with Puppet Bolt & Puppet Enterprise
Eficode
 
Drupal development
Drupal development Drupal development
Drupal development
Dennis Povshedny
 
Drupal 8 - Core and API Changes
Drupal 8 - Core and API ChangesDrupal 8 - Core and API Changes
Drupal 8 - Core and API Changes
Shabir Ahmad
 
Provisioning with Puppet
Provisioning with PuppetProvisioning with Puppet
Provisioning with Puppet
Joe Ray
 
Large-scaled Deploy Over 100 Servers in 3 Minutes
Large-scaled Deploy Over 100 Servers in 3 MinutesLarge-scaled Deploy Over 100 Servers in 3 Minutes
Large-scaled Deploy Over 100 Servers in 3 Minutes
Hiroshi SHIBATA
 
DevOps and Chef improve your life
DevOps and Chef improve your life DevOps and Chef improve your life
DevOps and Chef improve your life
Juan Vicente Herrera Ruiz de Alejo
 
ansible_rhel.pdf
ansible_rhel.pdfansible_rhel.pdf
ansible_rhel.pdf
ssuser6d347b
 
Introduction to Puppet Scripting
Introduction to Puppet ScriptingIntroduction to Puppet Scripting
Introduction to Puppet Scripting
Achieve Internet
 
Developing IT infrastructures with Puppet
Developing IT infrastructures with PuppetDeveloping IT infrastructures with Puppet
Developing IT infrastructures with Puppet
Alessandro Franceschi
 
A Fabric/Puppet Build/Deploy System
A Fabric/Puppet Build/Deploy SystemA Fabric/Puppet Build/Deploy System
A Fabric/Puppet Build/Deploy System
adrian_nye
 
Muraliupdatedpersona150716
Muraliupdatedpersona150716Muraliupdatedpersona150716
Muraliupdatedpersona150716
Murali Krishna R
 
Consistent Development Environment using Vagrant and Chef
Consistent Development Environment using Vagrant and ChefConsistent Development Environment using Vagrant and Chef
Consistent Development Environment using Vagrant and Chef
Gerald Villorente
 
How to? Drupal developer toolkit. Dennis Povshedny.
How to? Drupal developer toolkit. Dennis Povshedny.How to? Drupal developer toolkit. Dennis Povshedny.
How to? Drupal developer toolkit. Dennis Povshedny.
DrupalCampDN
 
Muraliupdatedpersonal091215
Muraliupdatedpersonal091215Muraliupdatedpersonal091215
Muraliupdatedpersonal091215
Murali Krishna R
 
Adventures in Laravel 5 SunshinePHP 2016 Tutorial
Adventures in Laravel 5 SunshinePHP 2016 TutorialAdventures in Laravel 5 SunshinePHP 2016 Tutorial
Adventures in Laravel 5 SunshinePHP 2016 Tutorial
Joe Ferguson
 
Puppet slides for intelligrape
Puppet slides for intelligrapePuppet slides for intelligrape
Puppet slides for intelligrape
Sharad Aggarwal
 
Python_for_Visual_Effects_and_Animation_Pipelines
Python_for_Visual_Effects_and_Animation_PipelinesPython_for_Visual_Effects_and_Animation_Pipelines
Python_for_Visual_Effects_and_Animation_Pipelines
Russell Darling
 
DevOps Automation with Puppet Bolt & Puppet Enterprise
DevOps Automation with Puppet Bolt & Puppet EnterpriseDevOps Automation with Puppet Bolt & Puppet Enterprise
DevOps Automation with Puppet Bolt & Puppet Enterprise
Eficode
 
Drupal 8 - Core and API Changes
Drupal 8 - Core and API ChangesDrupal 8 - Core and API Changes
Drupal 8 - Core and API Changes
Shabir Ahmad
 
Provisioning with Puppet
Provisioning with PuppetProvisioning with Puppet
Provisioning with Puppet
Joe Ray
 
Large-scaled Deploy Over 100 Servers in 3 Minutes
Large-scaled Deploy Over 100 Servers in 3 MinutesLarge-scaled Deploy Over 100 Servers in 3 Minutes
Large-scaled Deploy Over 100 Servers in 3 Minutes
Hiroshi SHIBATA
 
Ad

Introduction to puppet