jumpstart module dev

Post on 29-Jan-2018

219 Views

Category:

Technology

2 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Jumpstart Your Module Development

Rich Burroughs Operations Engineer Yesmail Interactive

It’s not you, it’s me

About me

module skeletons

module development

Why Develop modules?

😈

test though

testing pyramid

Unit testing

acceptance testing

😭

module skeletons

puppet module generate

default skeleton

gareth rushgrove

Opinionated

installing

puppet module generate

ruby

$ gem install bundler

$ bundle

$ rake -T

alias be='bundle exec'

Manifests

validation

be rake validate

be rake lint

rspec-puppet

be rake spec

spec/classes

be guard

enables TDD

coverage

beaker

be rake beaker

spec/acceptance

$ export PUPPET_INSTALL_TYPE=agent

$ export PUPPET_VERSION=1.2.2

$ export BEAKER_destroy=no

forge

retrofitting

@richburroughs

rich@richburroughs.com

top related