Systems building Systems: A Puppet Story

100 %
0 %
Information about Systems building Systems: A Puppet Story
Technology

Published on November 1, 2008

Author: littleidea

Source: slideshare.net

Systems Building Systems A Puppet Story

What is Puppet? Language Parser Client/Server Resource Abstraction A few other things...

Luke Kanies Recovering Sysadmin

One Goal: Revolutionize System Administration

What is a sysadmin?

Not Exactly Modern

Do tools have to suck?

Say What?!??

Everything the Same Everything Distinct

“Best Practices”

Don’t look at me... I wasn’t the last one to touch it...

SSH Cfengine ?

Bad product, hungry Luke

SSH Cfengine ?

SSH Cfengine ?

You can either easily manage complex systems at scale...

You can either easily manage complex systems at scale... Or you can’t...

Who’s using Puppet? “...at Google we're currently using Puppet to manage close to 6,000 Macs, and it's likely our deployment will expand dramatically beyond that....”

Competitive Advantage

People are finally figuring out puppet and how it gets you to the pub by 4pm. Note that I've been at this pub since 2pm. -- Jorge Castro

Enter Puppet... Configuration Is Declarative Code Semantics Matter Reproducible Shareable Maintainable Extensible

Developer Sysadmin

Three people Developer Sysadmin

An Analogy Programming SysAdmin Low-level, commands Assembly non-portable and files Abstract, C* Resources portable * For small values of abstract

Portable Resources This:

Portable Resources This: Becomes:

Portable Resources This: Becomes:

Portable Resources This: Becomes:

Portable Resources This: Becomes:

Portable Resources This: Becomes:

Portable 23 package types Users in NetInfo, useradd, pw Support for Debian, Ubuntu, Red Hat, Solaris, OS X, Gentoo, SuSE, FreeBSD, and more

Debian

Debian Red Hat

Debian Red Hat

Package

Configuration should Package get modified after package installation Configuration

Configuration should Package get modified after package installation Service should restart Configuration when configuration changes Service

Idempotence...

Idempotence...

Idempotence... Describes the property of operations in mathematics and computer science which yield the same result after the operation is applied multiple times.

Network Effects

Code Puppetmasterd puppetd puppetd OS X in the puppetd cloud Linux

Every Client:

Every Client: Retrieve resource catalog from central server

Every Client: Retrieve resource catalog from central server Determine resource order

Every Client: Retrieve resource catalog from central server Determine resource order Check each resource in turn, fixing if necessary

Every Client: Retrieve resource catalog from central server Determine resource order Check each resource in turn, fixing if necessary Rinse and repeat, every 30 minutes

Every Resource:

Every Resource: Retrieve current state (e.g., by querying dpkg db or doing a stat)

Every Resource: Retrieve current state (e.g., by querying dpkg db or doing a stat) Compare to desired state

Every Resource: Retrieve current state (e.g., by querying dpkg db or doing a stat) Compare to desired state Fix, if necessary (or just log)

Image from http://flickr.com/photos/pingnews/132543603/

Questions? andrew@reductivelabs twitter.com/littleidea

Add a comment

Related presentations

Related pages

Systems building-systems-a-puppet-story-19133 - Documents

1.Systems Building Systems A Puppet Story 2. What is Puppet? Language Parser Client/Server Resource Abstraction A few other things... 3. Luke Kanies ...
Read more

Practical Puppet Systems Building Systems 1 - Documents

Puppet Systems Building Systems Test all the f***ing time Code Tribes Dawn of Time Clouds Evolution Opportunity Triumph Not necessarily in ...
Read more

RubyConf 2008: A Puppet Story: Systems Building Systems ...

After years of automating systems with CFEngine, Luke Kanies, Puppet's primary author, had ideas about automation that he could not express with existing ...
Read more

Puppet DevOps comes to the mainframe | ZDNet

Now Puppet is trying to work in systems management magic on IBM's z Systems and LinuxONE. Puppet ... Building an Enterprise Software Startup.
Read more

Puppet + Sensu = Love; Infrastructure as Code and ...

... we tell the story of ... make it a compelling framework for designing and building monitoring and telemetry systems. ... with Puppet. Pricing. Free ...
Read more

Puppet (software) - Wikipedia, the free encyclopedia

... which are applied against the target systems. Any actions taken by Puppet are then reported. ...
Read more

Automate System Administration Tasks with Puppet | Linux ...

Automate System Administration Tasks with Puppet. ... that describes the end state of your systems, and the Puppet ... Building your own ...
Read more

Puppet - The shortest path to better software

With Puppet you know exactly what is going on with all your software, and you get the automation needed to drive change with confidence.
Read more