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
hrahman
February 17, 2013
Technology
1
100
Introduction to Puppet
hrahman
February 17, 2013
Tweet
Share
More Decks by hrahman
See All by hrahman
get on with git
hrahman
0
43
Cloud meets Fog & Puppet A Story of Version Controlled Infrastructure
hrahman
2
560
Other Decks in Technology
See All in Technology
制約が導く迷わない設計 〜 信頼性と運用性を両立するマイナンバー管理システムの実践 〜
bwkw
1
130
Oracle Cloud Infrastructure:2026年1月度サービス・アップデート
oracle4engineer
PRO
0
190
【Oracle Cloud ウェビナー】[Oracle AI Database + Azure] AI-Ready データ戦略の最短ルート:Azure AIでビジネス データの価値を最大化
oracle4engineer
PRO
2
140
メルカリのAI活用を支えるAIセキュリティ
s3h
7
5.3k
AI時代にあわせたQA組織戦略
masamiyajiri
7
2.9k
開発メンバーが語るFindy Conferenceの裏側とこれから
sontixyou
2
380
月間数億レコードのアクセスログ基盤を無停止・低コストでAWS移行せよ!アプリケーションエンジニアのSREチャレンジ💪
miyamu
0
200
toCプロダクトにおけるAI機能開発のしくじりと学び / ai-product-failures-and-learnings
rince
6
4.5k
CodeRabbit CLI + Claude Codeの連携について
oikon48
1
690
フロントエンド開発者のための「厄払い」
optim
0
180
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
66k
みんなだいすきALB、NLBの 仕組みから最新機能まで総おさらい / Mastering ALB & NLB: Internal Mechanics and Latest Innovations
kaminashi
0
140
Featured
See All Featured
Done Done
chrislema
186
16k
How to Talk to Developers About Accessibility
jct
2
120
A Soul's Torment
seathinner
5
2.2k
Docker and Python
trallard
47
3.7k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
920
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
Bash Introduction
62gerente
615
210k
Are puppies a ranking factor?
jonoalderson
1
2.6k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.3k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
200
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.2k
Transcript
Introduction to Puppet Habeeb Rahman |
[email protected]
|
[email protected]
pre puppet/config management era manual Installation login and perform installation/config
changes ad hoc scripts/tools not scalable everyone solving same problems their own way boring
puppet era mature tools sharing opensource infrastructure as a code
version controlled
what? Vanilla Server vanilla server apply puppet Your desired application
server Before After Transformation
how?(1/2) master-agent mode puppet master puppet agent (server 1) puppet
agent (server 2) puppet agent (server 3) puppet agent (server 'n')
how?(2/2) standalone mode puppet apply puppet (server 1)
components facter & facts puppet language resources manifests classes templates
facter & facts puppet uses facter to gather information about
the host system
puppet language • DSL • ruby
resources • the building blocks • model system configurations •
built-in resources user { 'dave': ensure => 'present', home => '/home/dave', shell => '/bin/zsh' } • puppet describe -s user
manifests puppet programs are called “manifests” file extension: .pp
classes • describe one part of what makes up a
system’s identity • not object-oriented programming 'class'
templates puppet uses ruby erb templating system file {'/etc/foo.conf': ensure
=> file, require => Package['foo'], content => template('foo/foo.conf.erb'), }
how does it all fit together?
catalog
puppet help puppet describe prints help about puppet resource types,
providers, and metaparameters puppet help <subcommand> help about puppet commands
learning http://docs.puppetlabs.com/learning/