Introduction to puppet
Upcoming SlideShare
Loading in...5
×
 

Introduction to puppet

on

  • 1,611 views

 

Statistics

Views

Total Views
1,611
Views on SlideShare
1,388
Embed Views
223

Actions

Likes
0
Downloads
24
Comments
0

5 Embeds 223

http://hrahman.in 161
http://hrahmanin.tumblr.com 36
http://www.linkedin.com 21
http://mattdevuk.tumblr.com 4
https://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Introduction to puppet Introduction to puppet Presentation Transcript

    • 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 scalableeveryone solving same problems their own wayboring
    • puppet eramature toolssharingopensourceinfrastructure as a codeversion 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)
    • 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, home => /home/dave, shell => /bin/zsh }● puppet describe -s user
    • 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], content => template(foo/foo.conf.erb), }
    • how does it all fit together?
    • catalog
    • puppet helppuppet describe prints help about puppet resource types, providers, and metaparameterspuppet help <subcommand> help about puppet commands
    • learninghttp://docs.puppetlabs.com/learning/