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
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
ソニーのクラウド共通基盤の変遷とAI時代の開発スタイルに合わせた進化 / The Journey of Sony’s Common Cloud Platform and Its Evolution for AI-Native Development
kenjiyoneyama
0
270
ハーネス設計入門 〜 基礎知識の整理から実務へのステップアップ 〜
kinopeee
28
32k
Vue Fes Japan の “作る側”に関わってみて
naokihaba
0
160
contenteditable と日本語入力に向き合う
colorful12
0
200
【加筆修正版】Laravel のアプリケーションをどこにデプロイするか #phpcon_ehime
akase244
0
150
SREの越境 / SRE Collaboration
y0hgi
2
310
phperだってパンチカードでコーディングしたい
o0h
PRO
0
330
SalesForceを内製化!? ~ HR事業を支える顧客管理基盤のインフラを大公開 ~
oku053
0
180
個人開発者よ、Honoを使え(おじさんver)
tanahiro2010
2
260
PumaからFalconに移行したRailsアプリケーションでの実践
falcon8823
0
170
AI主導のプログラミング学習アプリを作ってみた
econanringo
0
180
C#の現在地 進化の歴史と、AI時代の.NET Everywhere
neuecc
5
5.2k
Featured
See All Featured
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
550
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
500
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.6k
Visualization
eitanlees
153
17k
Raft: Consensus for Rubyists
vanstee
142
7.8k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
620
The Cult of Friendly URLs
andyhume
79
7k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
7k
The Pragmatic Product Professional
lauravandoore
37
7.5k
Faster Mobile Websites
deanohume
310
32k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
Designing for humans not robots
tammielis
254
26k
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