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

Introduction to Puppet

Avatar for hrahman hrahman
February 17, 2013

Introduction to Puppet

Avatar for hrahman

hrahman

February 17, 2013
Tweet

More Decks by hrahman

Other Decks in Technology

Transcript

  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