BDD with Puppet & Cucumber T OM S ULSTON - - PowerPoint PPT Presentation

bdd with puppet cucumber
SMART_READER_LITE
LIVE PREVIEW

BDD with Puppet & Cucumber T OM S ULSTON - - PowerPoint PPT Presentation

BDD with Puppet & Cucumber T OM S ULSTON http://thoughtworks.com @tomsulston Whats Puppet http://www.puppetlabs.com/ What is puppet for? Managing many systems Managing configuration System consistency Treating infrastructure as code


slide-1
SLIDE 1

TOM SULSTON

http://thoughtworks.com @tomsulston

BDD with Puppet & Cucumber

slide-2
SLIDE 2

What’s Puppet

http://www.puppetlabs.com/

slide-3
SLIDE 3

System consistency Managing many systems Managing configuration Treating infrastructure as code

What is puppet for?

slide-4
SLIDE 4

SCM System configuration Puppetmaster Server1 WebServers Server1 AppServers Server1 OtherServers

slide-5
SLIDE 5

Self-documentation SCM practices Refactoring Testing Build pipeline

Infrastructure as code

slide-6
SLIDE 6

Manifests External DSL Modules

Puppet structures

slide-7
SLIDE 7

Puppet demo/ exercise

slide-8
SLIDE 8

Have a test server? Implicit testing? Use a test harness!

Testing Puppet

slide-9
SLIDE 9

Behaviour- Driven Development

slide-10
SLIDE 10

“BDD is a second-generation, outside-in, pull-based, multiple-stakeholder, multiple-scale, high-automation, agile methodology.” - Dan North

slide-11
SLIDE 11

Given... , When... , Then... Describes system behaviour Uses plain English Helps ‘business’ and ‘technology’ communicate Automated tests

BDD

slide-12
SLIDE 12

Describe complexity to business Make it work! Fill in the gaps left by development

BDD is good for

  • perations
slide-13
SLIDE 13

cucumber-puppet

http://github.com/nistude/cucumber-puppet

slide-14
SLIDE 14

Lightweight change control Make changes fearlessly Refactoring Common toolset & language

How this helps

slide-15
SLIDE 15

Demonstration

slide-16
SLIDE 16

Questions?

slide-17
SLIDE 17

TOM SULSTON

http://thoughtworks.com @tomsulston