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
Introduction to Puppet
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Stephen Johnson
March 20, 2013
Technology
0
95
Introduction to Puppet
I talk i gave as in introduction to puppet
Stephen Johnson
March 20, 2013
Tweet
Share
More Decks by Stephen Johnson
See All by Stephen Johnson
Exported Configs == Better Puppet
stephenrjohnson
0
410
Mcollective Talk
stephenrjohnson
0
75
Failing the correct way
stephenrjohnson
1
55
Love/Hate Puppet Melbourne
stephenrjohnson
2
440
Other Decks in Technology
See All in Technology
レガシー共有バッチ基盤への挑戦 - SREドリブンなリアーキテクチャリングの取り組み
tatsukoni
0
210
Bill One急成長の舞台裏 開発組織が直面した失敗と教訓
sansantech
PRO
2
360
Bedrock PolicyでAmazon Bedrock Guardrails利用を強制してみた
yuu551
0
210
データ民主化のための LLM 活用状況と課題紹介(IVRy の場合)
wxyzzz
2
700
OCI Database Management サービス詳細
oracle4engineer
PRO
1
7.4k
20260204_Midosuji_Tech
takuyay0ne
1
150
Greatest Disaster Hits in Web Performance
guaca
0
210
Azure Durable Functions で作った NL2SQL Agent の精度向上に取り組んだ話/jat08
thara0402
0
180
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
10k
AWS Network Firewall Proxyを触ってみた
nagisa53
1
220
StrandsとNeptuneを使ってナレッジグラフを構築する
yakumo
1
110
[CV勉強会@関東 World Model 読み会] Orbis: Overcoming Challenges of Long-Horizon Prediction in Driving World Models (Mousakhan+, NeurIPS 2025)
abemii
0
130
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
Amusing Abliteration
ianozsvald
0
99
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.3k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
280
Claude Code のすすめ
schroneko
67
210k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
61
52k
Navigating Team Friction
lara
192
16k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
64
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
820
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
110
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
160
Transcript
Puppet The awesomenessness that is Wednesday, 20 March 13
The 3 Things • Laziness • Impatience • Hubris Three
Great Virtues of a Programmer (or Sysadmin) — Larry Wall Wednesday, 20 March 13
Laziness • Is a good thing • Automate, Automate, Automate
• Remove the boring jobs • I dont want to do that myself Wednesday, 20 March 13
Impatience • I want it done now • Why do
we have to take x to build y machine • I dont care about how its done, just get it done Wednesday, 20 March 13
Hubris • You want to look awesome • You want
your infrastructure to be cooler Wednesday, 20 March 13
I want to be this guy Wednesday, 20 March 13
What not to do • Custom script ( The guy
left) • Gold image ( List of post clone stuff) • Manual ( Arrr you kidding ) • Massive RPM of doom ( The guy left) Wednesday, 20 March 13
What you need to do • Remove the snow flake
machines • Stop the, ‘i changed that config’ • Cookie cutter machines • Dont care about them anymore Wednesday, 20 March 13
Puppet gets you Knowledge • Version controlled infrastructure • Convergence
( Get back in line MOFO ) • Reporting • Query-ability • AKA AWESOMENESS • Removing the WTF / FAIL Wednesday, 20 March 13
Cat picture Wednesday, 20 March 13
Puppet FTW • Automation • Abstraction • Repeatable • Reportable
• AWESOMEABLE Wednesday, 20 March 13
Automate • Ntp config • Apache config • Mysql config
• Syslog config • AKA EVERYTHING Wednesday, 20 March 13
How Puppet Works Wednesday, 20 March 13
But how class sysadmins { user { 'elmo': ensure =>
present, gid => 'sysadmin', home => '/home/sysadmins/elmo', } group { 'sysadmin': ensure => present, } } Wednesday, 20 March 13
Wait there is more node webserver {
@@file { "/etc/nagios/conf.d/$::{fqdn}.apachecheck.conf": content => "nagios check stuff \n", tag => "nagioscheck", } } node nagiosmachine { File <<| tag == 'nagioscheck' |>> } Wednesday, 20 March 13
How does that work • Puppetdb • Stores configs •
Scalable • AWESOMENESS Wednesday, 20 March 13
The data problem • Puppet modules without hard-coded data are
easily shared and more re-usable • Infrastructure configuration can be managed without needing to edit Puppet code Wednesday, 20 March 13
BAD DATA Wednesday, 20 March 13
Example if ( $::environment == ‘dev’ ) { $ntpserver =
‘192.168.2.1’ } else { if ( $::fqdn == ‘host4.mycorp.com’) { $ntpserver = ‘127.0.0.1’ } else { $ntpserver = ‘213.21.6.4’ } } Wednesday, 20 March 13
Heira • Is the future Wednesday, 20 March 13
Remove Data from Code • Hiera uses information to determine
a hierarchy • Top down hierarchy for overriding configuration values based on roles, environments, locations.... or anything else • And do this without any coding! Wednesday, 20 March 13
Puppet 3.0 • Hiera is integrated into the core product
• Introduces data mapping for parameterized classes • Backwards compatible Wednesday, 20 March 13
Good Data Wednesday, 20 March 13
Learn more • docs.puppetlabs.com • Training •
[email protected]
Wednesday, 20
March 13
Question Wednesday, 20 March 13