bdd with puppet cucumber
play

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


  1. BDD with Puppet & Cucumber T OM S ULSTON http://thoughtworks.com @tomsulston

  2. What’s Puppet http://www.puppetlabs.com/

  3. What is puppet for? Managing many systems Managing configuration System consistency Treating infrastructure as code

  4. System configuration Puppetmaster SCM Server1 Server1 Server1 WebServers AppServers OtherServers

  5. Infrastructure as code SCM practices Refactoring Self-documentation Build pipeline Testing

  6. Puppet structures External DSL Modules Manifests

  7. Puppet demo/ exercise

  8. Testing Puppet Have a test server? Implicit testing? Use a test harness!

  9. Behaviour- Driven Development

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

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

  12. BDD is good for operations Make it work! Fill in the gaps left by development Describe complexity to business

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

  14. How this helps Make changes fearlessly Refactoring Lightweight change control Common toolset & language

  15. Demonstration

  16. Questions?

  17. T OM S ULSTON http://thoughtworks.com @tomsulston

Recommend


More recommend