Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Role level integration testing for your Puppet ...
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Jesse Reynolds
May 18, 2017
Programming
18
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Role level integration testing for your Puppet code
Lightning talk given at DevOps Sydney Meetup May 2017
Jesse Reynolds
May 18, 2017
More Decks by Jesse Reynolds
See All by Jesse Reynolds
Developers, Sysadmins, and everyone else: Why you should be using Serverspec
jessereynolds
0
110
Developers, Sysadmins, and everyone else: Why you should be using Serverspec (with speaker notes)
jessereynolds
0
54
Other Decks in Programming
See All in Programming
見えないものを探る要求要件定義に必要な基本的思考 / invisible-requirement-thinking
minodriven
15
8.5k
The Rails Doctrine Decade
koic
2
590
Event is what happens
moro
2
770
全ての永続トークンを、生まれる前に消し去りたい!
sylph01
2
880
Vue Fes Japan の “作る側”に関わってみて
naokihaba
0
160
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
2
150
Long Living Tokens, Die, Die, Die! (or: The One Ring is Banned in Modern)
sylph01
0
300
Workers Cache を知る
syumai
0
360
ActionController meets Protocol Buffers
sorah
0
520
contenteditable と日本語入力に向き合う
colorful12
0
200
當我們開始不讀 Code - AI Agent 時代,Code Review 與 Clean Code 還剩下什麼?
jame2408
1
200
コードレビューのボトルネックを"する側"と"される側"の両面から解消する
yub0n
2
1.6k
Featured
See All Featured
Accessibility Awareness
sabderemane
1
250
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
730
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
550
AI: The stuff that nobody shows you
jnunemaker
PRO
10
1.2k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
For a Future-Friendly Web
brad_frost
184
10k
The Language of Interfaces
destraynor
162
27k
Side Projects
sachag
456
43k
Building the Perfect Custom Keyboard
takai
2
910
Heart Work Chapter 1 - Part 1
lfama
PRO
10
37k
Abbi's Birthday
coloredviolet
4
10k
Transcript
Role level integration testing for your Puppet code
What's a Role?
Roles & Profiles Just modules, but they bring everything together.
Two layers of abstraction for organising your code.
None
None
None
None
What's a Puppetfile? • a way of specifying module dependencies
• like Bundler or Pip for Puppet modules
None
Possible problems with a Puppetfile …
modules (or versions) may not exist
git repo hosting the module may not be accessible
missing dependencies
syntax error (d’oh!)
Introducing Onceover “Your gateway drug to automated infrastructure testing with
Puppet” github.com/dylanratcliffe/onceover
compiles a catalog for every role, for every factset
$ gem install onceover $ onceover init $ onceover run
spec
None
Lets give it a whirl.
2 roles * 2 factsets = 4 catalog compilations
None
Possible problems with role and profile classes…
missing class
bad parameters to a class
integration logic errors
syntax error (d’oh!)
Lets make some mistakes (demo)
None
Jesse Reynolds Professional Services @ Puppet @jessereynolds