Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

73
Hudson, Puppet, Cucumber Patrick Debois  Julian Simpson 23-25 March 2010 http://www.ukuug.org/ Thursday 25 March 2010

Transcript of Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

Page 1: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 1/73

Hudson,Puppet,

Cucumber

Patrick Debois Julian Simpson

23-25 March 2010http://www.ukuug.org/

Thursday 25 March 2010

Page 2: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 2/73

Patrick:

Belgian

http://www.ickr.com/photos/bookeditor/

Thursday 25 March 2010

Page 3: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 3/73

Julian:

New Zealand

http://www.ickr.com/photos/glutnix/

Thursday 25 March 2010

Page 4: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 4/73

http://www.ickr.com/photos/timmygunz/213619310/sizes/l/

A story about an IT companynot so far away

Thursday 25 March 2010

Page 5: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 5/73

Meet the manager http://www.ickr.com/photos/thomashawk/31562846/sizes/l/

Thursday 25 March 2010

Page 6: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 6/73

http://www.ickr.com/photos/praziquantel/32023792/sizes/o/

Project Managers

Thursday 25 March 2010

Page 7: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 7/73

http://www.ickr.com/photos/mikeygottawa/400926090/sizes/o/

Rock-Stardevelopers

Thursday 25 March 2010

Page 8: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 8/73

http://www.ickr.com/photos/auntylaurie/2486555769/sizes/l/

Rock-Starsysadmins

Thursday 25 March 2010

Page 9: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 9/73

Stubborn guys from operations

Thursday 25 March 2010

Page 10: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 10/73

Typicalchain of command

http://www.ickr.com/photos/keepwaddling1/3088388506/sizes/l/Thursday 25 March 2010

Page 11: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 11/73

http://www.ickr.com/photos/anjibarton/3115066604/sizes/l/

Ops and Sysadmins usually get along

Thursday 25 March 2010

Page 12: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 12/73

http://www.ickr.com/photos/charles_nouyrit/3102079345/sizes/o/

But devsand

sysadmins

often

debateabout

‘quality’

Thursday 25 March 2010

Page 13: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 13/73

http://www.ickr.com/photos/poenaru/1304953088/sizes/o/

Devs:“Youshould

be able tomake changes

faster inproduction”

Thursday 25 March 2010

Page 14: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 14/73

http://www.ickr.com/photos/cenz/15108117/sizes/o/

Sysadmins:“You shouldTest More”

Thursday 25 March 2010

Page 15: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 15/73

http://www.ickr.com/photos/timmygunz/213619310/sizes/l/

Fight!

Usually results in ....

Thursday 25 March 2010

Page 16: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 16/73

http://www.ickr.com/photos/bulldogsrule/35701005/sizes/o/

Then the managers created si los

Thursday 25 March 2010

Page 17: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 17/73

http://www.ickr.com/photos/elsie/3577264876/sizes/l/

Now onlysome deploysget through

Thursday 25 March 2010

Page 18: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 18/73

But over timedevelopers evolved

Thursday 25 March 2010

Page 19: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 19/73

http://www.ickr.com/photos/gigijin/2400999295/sizes/o/

They looked on the internet

Thursday 25 March 2010

Page 20: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 20/73

http://www.ickr.com/photos/dvorscak/498914813/sizes/l/

Foundnew waysto automate

the tests

TDD, BDD

Thursday 25 March 2010

Page 21: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 21/73

http://www.ickr.com/photos/eiriknewth/282275178/sizes/l/

New ways of automating

delivery

Thursday 25 March 2010

Page 22: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 22/73

Solved theirfocus problem

Thursday 25 March 2010

Page 23: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 23/73

http://www.ickr.com/photos/squeakywheel/264379350/

Kept operationson a leash

Thursday 25 March 2010

Page 24: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 24/73

And what about the sysadmins?

http://www.ickr.com/photos/24443965@N08/2893354732/sizes/o/

Thursday 25 March 2010

Page 25: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 25/73

http://www.ickr.com/photos/31525296@N06/2951515346/sizes/o/

Whenever a customer wanted some new server

Thursday 25 March 2010

Page 26: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 26/73

http://www.ickr.com/photos/maistora/485092742/sizes/l/

They would go off and do their manualinstalls

Thursday 25 March 2010

Page 27: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 27/73

http://www.ickr.com/photos/brianatwebbmoto/3096643650/sizes/l/

Even in terrible conditions

Thursday 25 March 2010

Page 28: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 28/73

http://www.ickr.com/photos/s9500/2490150854/sizes/l/

http://www.ickr.com/photos/fmpgoh/4123201107/

http://www.ickr.com/photos/eelcoc/809648617/sizes/l/

Just like their role models

Thursday 25 March 2010

Page 29: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 29/73

http://www.ickr.com/photos/alanhogan/3094280494/sizes/o/

Then they startedto use kickstarts

Thursday 25 March 2010

Page 30: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 30/73

http://www.ickr.com/photos/donpezzano/2061429048/sizes/o/

Automatedit with ‘ugly’ custom scripting

Thursday 25 March 2010

Page 31: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 31/73

http://www.ickr.com/photos/extraketchup/408727662/sizes/o/

cong mgt v1=Lcfg, CFEngine

Thursday 25 March 2010

Page 32: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 32/73

What’s a DSL?

http://strongdogz.com/wp-content/uploads/2009/11/dog-1.png

Thursday 25 March 2010

Page 33: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 33/73

Puppet is a DSLfor systems administration

http://www.ickr.com/photos/schockwellenreiter/2184781281/sizes/l/

http://reductivelabs.com/products/puppet/

Thursday 25 March 2010

Page 34: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 34/73

# verify owner & permissionsclass base_etc { fi le { "/etc/passwd": owner => root, group => root , mode => 644} file { "/etc/sudoers": owner => root, group => root, mode => 440}} # install apacheclass apache2 { # using the local package manager, install the reqd pkg package { "apache2": ensure => installed }

service { "apache2": ensure => running, hasstatus => true, hasrestart => true, require => Package["apache2"], }}

# default node is applied by _all_ connecting puppet clientsnode default { include base_etc} # specific config for host www01node www01 { # load the corresponding class defined above include apache2}

Read more: http://www.agileweboperations.com/conguration-management-introduction-to-puppet/#ixzz0iyVDqF89

Example Puppet Recipehttp://www.ickr.com/photos/paguma/4282178983/

Thursday 25 March 2010

Page 35: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 35/73

http://www.ickr.com/photos/pmtorrone/65245861/sizes/l/

Chef

PuppetSysadmin

Cong Management is evolving

http://www.opscode.com/chef/

Thursday 25 March 2010

Page 36: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 36/73

http://www.ickr.com/photos/deannas_pics/3071841122/sizes/

Deploy new systemsmore often, faster and better reproducible

Thursday 25 March 2010

M d l

Page 37: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 37/73

congruence

rebuild thewhole node

convergence

making systemssimilar over time

http://www.ickr.com/photos/keirmoffatt/35306073/sizes/o/

http://www.infrastructures.org/papers/turing/turing.html

Models

http://www.ickr.com/photos/xjy/2269150356/sizes/o/

http://resources.metapress.com/pdf-preview.axd?code=yuce6e26a51dx9nh&size=largest

Thursday 25 March 2010

Provisioning Different

Page 38: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 38/73

http://www.ickr.com/photos/richtpt/2173590295/sizes/l/

Provisioning DifferentEnvironments

Production

http://www.ickr.com/photos/idan586/3570542251/sizes/l/

Dev

Test

Thursday 25 March 2010

Page 39: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 39/73

http://www.pet-dog-cat-supply-store.com/shop/shop_image/product/ad41a25245cbb895fbfbc950b1a0a3f5.jpg

Becoming agile

Thursday 25 March 2010

Page 40: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 40/73

http://www.ickr.com/photos/stopbeingcarbon/231737755/sizes/o/

Cloud for testing conguration systems

Thursday 25 March 2010

S d i h ld l k bl f

Page 41: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 41/73

http://www.ickr.com/photos/utherpendragonsphotos/14010402/sizes/o/

Sysadmins should look at proble ms from adevelopment perspective

Thursday 25 March 2010

D h ld i i f i l i f i

Page 42: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 42/73

Devs should view it from operational point of view

Thursday 25 March 2010

Page 43: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 43/73

Infrastructure is becoming code

http://www.ickr.com/photos/briandewitt/534143047/sizes/o/

Thursday 25 March 2010

Page 44: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 44/73

So I’m a programmer now?

http://c0424311.cdn.cloudles.rackspacecloud.com/perfect-pet.jpg

Thursday 25 March 2010

Page 45: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 45/73

If you’re a programmer, be a good one

http://www.ickr.com/photos/zippy/199990105/sizes/l/

Thursday 25 March 2010

Page 46: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 46/73

http://www.ickr.com/photos/thelifeofshannon/385604955/sizes/o/

Version your scripts

Thursday 25 March 2010

U it

Page 47: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 47/73

Use a repository

http://www.ickr.com/photos/jeffreygutermanickr/2674219854/Thursday 25 March 2010

Page 48: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 48/73

http://www.ickr.com/photos/ideonexus/2897085942/sizes/l/

Testing

Thursday 25 March 2010

Page 49: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 49/73

You might like

http://www.ickr.com/photos/the_harry_philes/217927389/sizes/l/

http://cukes.info/

Thursday 25 March 2010

Page 50: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 50/73

Results

Thursday 25 March 2010

Page 51: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 51/73

Gherkin

http://www.ickr.com/photos/lawriecate/2543688459/Thursday 25 March 2010

Page 52: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 52/73

Validating Apache cong

Thursday 25 March 2010

l

Page 53: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 53/73

Mail Scenarios

http://github.com/albanpeignier/tryphon-p uppet

TestTest

TestTest

TestTest

Thursday 25 March 2010

Mail

Page 54: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 54/73

MailStep denitions

http://www.ickr.com/photos/sziliotti/3787189858/sizes/o/

Thursday 25 March 2010

Page 55: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 55/73

http://www.ickr.com/photos/-konayuki-/3986635994/sizes/l/

Testingwill make the

pains visible

Thursday 25 March 2010

Things will get dirty

Page 56: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 56/73

http://www.ickr.com/photos/schneelocke/467551426/sizes/l/

Things will get dirty

Thursday 25 March 2010

It q i t g t h t k it

Page 57: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 57/73

It requires a strong stomach to keep it up

http://www.ickr.com/photos/82213449@N00/68608360/sizes/o/

Thursday 25 March 2010

Page 58: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 58/73

http://www.ickr.com/photos/showbizsuperstar/4033321314/sizes/l/

Extra bonus

http://auxesis.github.com/cucumber-nagios/

: Cucumber-Nagios

$ cucumber-nagios ukuug.featurecritical: 0, warning: 0, 2 okay | passed=2, failed=0

Thursday 25 March 2010

Keep an overview on your changes

Page 59: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 59/73

Keep an overview on your changes

Thursday 25 March 2010

Page 60: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 60/73

http://www.ickr.com/photos/sugarpond/2851411809/sizes/l/

Don’t change your infrastructure all at once

Thursday 25 March 2010

Page 61: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 61/73

One pieceat a time

http://www.ickr.com/photos/lumpy_golightly/3479956609/sizes/l/

Thursday 25 March 2010

Page 62: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 62/73

It’sstill a human

process

http://www.ickr.com/photos/shehal/2725353884/sizes/l/

Thursday 25 March 2010

Page 63: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 63/73

http://www.ickr.com/photos/cvr/2914455499/

Tools help

Story!

Thursday 25 March 2010

Page 64: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 64/73

http://www.ickr.com/photos/clofresh/3384877145/

Hudson facilitates the process

http://hudson-ci.org/

Thursday 25 March 2010

Page 65: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 65/73

Puppet manifestsare tested

runstests

invokes

Hudson

Puppet

Cucumber

provisions

=OS

http://www.ickr.com/photos/tupwanders/89267092/sizes/l/

Thursday 25 March 2010

Page 66: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 66/73

Tools are only a means to an end

http://images0.cafepress.com/product/36081430v1_225x225_Front.jpg

Thursday 25 March 2010

D d O ki h

Page 67: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 67/73

http://www.ickr.com/photos/42614915@N00/104222743/sizes/o/

Devs and Ops working together

Thursday 25 March 2010

Page 68: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 68/73

Ops-Ops working together

OperatingSystemNetwork

Database

Thursday 25 March 2010

Page 69: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 69/73

http://www.phantompub.com/images/CDPanel_Page_1.jpg

It’s aboutthe business

Thursday 25 March 2010

Page 70: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 70/73

http://www.ickr.com/photos/stephenpoff/2852616498/sizes/l/

Devops:

a bit of everythingbusiness

developerssysadmins

Thursday 25 March 2010

Page 71: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 71/73

http://www.devopsdays.org/

http://planet.devops.info/http://www.devops.info/#devops - twitter

#infra-talk - ircagile-system-administra tion - googlegr oups

Puppetcamp Europe 2010 : Ghent, Belgium , on 27&28 May, 2010

Devopsdays US: Mountain View, California, US on Friday, June 25, 2010

Devopsdays Europe coming somewhere in October/November

Thursday 25 March 2010

Page 72: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 72/73

http://www.ickr.com/photos/rosslittle/161718033/sizes/l/

Questions?

Thursday 25 March 2010

Page 73: Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

8/2/2019 Ukuug 2010 Hudson Hit Puppet With a Cucumber Final 100326040214 Phpapp01

http://slidepdf.com/reader/full/ukuug-2010-hudson-hit-puppet-with-a-cucumber-final-100326040214-phpapp01 73/73

Patrick Debois@patrickdebois

[email protected]://jedi.be/blog

Julian [email protected]

@builddoctorh // b ild d

Thank you!