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
45
Cloud meets Fog & Puppet A Story of Version Controlled Infrastructure
hrahman
2
560
Other Decks in Technology
See All in Technology
GitHub Actions侵害 — 相次ぐ事例を振り返り、次なる脅威に備える
flatt_security
8
6.8k
FASTでAIエージェントを作りまくろう!
yukiogawa
4
170
VSCode中心だった自分がターミナル沼に入門した話
sanogemaru
0
850
OPENLOGI Company Profile for engineer
hr01
1
61k
AWS Systems Managerのハイブリッドアクティベーションを使用したガバメントクラウド環境の統合管理
toru_kubota
1
190
パワポ作るマンをMCP Apps化してみた
iwamot
PRO
0
240
イベントで大活躍する電子ペーパー名札を作る(その2) 〜 M5PaperとM5PaperS3 〜 / IoTLT @ JLCPCB オープンハードカンファレンス
you
PRO
0
220
Oracle Cloud Infrastructure(OCI):Onboarding Session(はじめてのOCI/Oracle Supportご利⽤ガイド)
oracle4engineer
PRO
2
17k
OCI技術資料 : ロード・バランサ 概要 - FLB・NLB共通
ocise
4
27k
ADK + Gemini Enterprise で 外部 API 連携エージェント作るなら OAuth の仕組みを理解しておこう
kaz1437
0
240
サイボウズ 開発本部採用ピッチ / Cybozu Engineer Recruit
cybozuinsideout
PRO
10
77k
【AWS】CloudTrail LakeとCloudWatch Logs Insightsの使い分け方針
tsurunosd
0
130
Featured
See All Featured
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
0
250
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
160
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
800
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
So, you think you're a good person
axbom
PRO
2
2k
A designer walks into a library…
pauljervisheath
210
24k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.8k
Building Applications with DynamoDB
mza
96
7k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
160
GitHub's CSS Performance
jonrohan
1032
470k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.9k
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/