Introduction to Puppet  Habeeb Rahman | hrahman@apigee.com | pk.habi@gmail.com
pre puppet/config management eramanual Installationlogin and perform installation/config changesad hoc scripts/toolsnot sc...
puppet eramature toolssharingopensourceinfrastructure as a codeversion controlled
what?                       Vanilla Server                                        Your desired vanilla server   apply pupp...
how?    (1/2)master-agent mode                             puppet                             master   puppet agent   pupp...
how?   (2/2)standalone mode                  puppet apply                   puppet                  (server 1)
componentsfacter & factspuppet languageresourcesmanifestsclassestemplates
facter & factspuppet uses facter to gather informationabout the host system
puppet language● DSL● ruby
resources● the building blocks● model system configurations● built-in resources  user { dave:      ensure => present,     ...
manifestspuppet programs are called “manifests”file extension: .pp
classes● describe one part of what makes up a  system’s identity● not object-oriented programming class
templatespuppet uses ruby erb templating systemfile {/etc/foo.conf:     ensure => file,     require => Package[foo],     c...
how does it all fit together?
catalog
puppet helppuppet describe  prints help about puppet resource types, providers, and metaparameterspuppet help <subcommand>...
learninghttp://docs.puppetlabs.com/learning/
Upcoming SlideShare
Loading in...5
×

Introduction to puppet

2,540

Published on

0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,540
On Slideshare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
105
Comments
0
Likes
4
Embeds 0
No embeds

No notes for slide

Introduction to puppet

  1. 1. Introduction to Puppet Habeeb Rahman | hrahman@apigee.com | pk.habi@gmail.com
  2. 2. pre puppet/config management eramanual Installationlogin and perform installation/config changesad hoc scripts/toolsnot scalableeveryone solving same problems their own wayboring
  3. 3. puppet eramature toolssharingopensourceinfrastructure as a codeversion controlled
  4. 4. what? Vanilla Server Your desired vanilla server apply puppet application server Before Transformation After
  5. 5. how? (1/2)master-agent mode puppet master puppet agent puppet agent puppet agent puppet agent (server 1) (server 2) (server 3) (server n)
  6. 6. how? (2/2)standalone mode puppet apply puppet (server 1)
  7. 7. componentsfacter & factspuppet languageresourcesmanifestsclassestemplates
  8. 8. facter & factspuppet uses facter to gather informationabout the host system
  9. 9. puppet language● DSL● ruby
  10. 10. resources● the building blocks● model system configurations● built-in resources user { dave: ensure => present, home => /home/dave, shell => /bin/zsh }● puppet describe -s user
  11. 11. manifestspuppet programs are called “manifests”file extension: .pp
  12. 12. classes● describe one part of what makes up a system’s identity● not object-oriented programming class
  13. 13. templatespuppet uses ruby erb templating systemfile {/etc/foo.conf: ensure => file, require => Package[foo], content => template(foo/foo.conf.erb), }
  14. 14. how does it all fit together?
  15. 15. catalog
  16. 16. puppet helppuppet describe prints help about puppet resource types, providers, and metaparameterspuppet help <subcommand> help about puppet commands
  17. 17. learninghttp://docs.puppetlabs.com/learning/
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×