Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Role level integration testing for your Puppet ...
Search
Jesse Reynolds
May 18, 2017
Programming
0
16
Role level integration testing for your Puppet code
Lightning talk given at DevOps Sydney Meetup May 2017
Jesse Reynolds
May 18, 2017
Tweet
Share
More Decks by Jesse Reynolds
See All by Jesse Reynolds
Developers, Sysadmins, and everyone else: Why you should be using Serverspec
jessereynolds
0
100
Developers, Sysadmins, and everyone else: Why you should be using Serverspec (with speaker notes)
jessereynolds
0
49
Other Decks in Programming
See All in Programming
2026/02/04 AIキャラクター人格の実装論 口 調の模倣から、コンテキスト制御による 『思想』と『行動』の創発へ
sr2mg4
0
370
JPUG勉強会 OSSデータベースの内部構造を理解しよう
oga5
1
130
今から始めるClaude Code超入門
448jp
8
9.2k
Honoを使ったリモートMCPサーバでAIツールとの連携を加速させる!
tosuri13
1
190
Head of Engineeringが現場で回した生産性向上施策 2025→2026
gessy0129
PRO
0
110
疑似コードによるプロンプト記述、どのくらい正確に実行される?
kokuyouwind
0
390
Package Management Learnings from Homebrew
mikemcquaid
0
240
OCaml 5でモダンな並列プログラミングを Enjoyしよう!
haochenx
0
160
AgentCoreとHuman in the Loop
har1101
5
250
副作用をどこに置くか問題:オブジェクト指向で整理する設計判断ツリー
koxya
1
620
2026年 エンジニアリング自己学習法
yumechi
0
140
16年目のピクシブ百科事典を支える最新の技術基盤 / The Modern Tech Stack Powering Pixiv Encyclopedia in its 16th Year
ahuglajbclajep
5
1.1k
Featured
See All Featured
What does AI have to do with Human Rights?
axbom
PRO
0
2k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.3k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
196
71k
How to build a perfect <img>
jonoalderson
1
4.9k
Why Our Code Smells
bkeepers
PRO
340
58k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
130
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
260
Automating Front-end Workflow
addyosmani
1371
200k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
330
Odyssey Design
rkendrick25
PRO
1
500
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
67
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