Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Introduction to Puppet

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on. →
hrahman
February 17, 2013

Introduction to Puppet

hrahman

February 17, 2013

Transcript

17 slides
  1. 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
  2. how?(1/2) master-agent mode puppet master puppet agent (server 1) puppet

    agent (server 2) puppet agent (server 3) puppet agent (server 'n')
  3. resources • the building blocks • model system configurations •

    built-in resources user { 'dave': ensure => 'present', home => '/home/dave', shell => '/bin/zsh' } • puppet describe -s user
  4. classes • describe one part of what makes up a

    system’s identity • not object-oriented programming 'class'
  5. templates puppet uses ruby erb templating system file {'/etc/foo.conf': ensure

    => file, require => Package['foo'], content => template('foo/foo.conf.erb'), }
  6. puppet help puppet describe prints help about puppet resource types,

    providers, and metaparameters puppet help <subcommand> help about puppet commands

More Decks by hrahman

Other Decks in Technology