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
Master of Puppet
Search
Sebastian Hempel
October 19, 2010
Programming
0
1.2k
Master of Puppet
Einführung in das Konfigurationsmanagement mit Puppet für Administratorn
Sebastian Hempel
October 19, 2010
Tweet
Share
More Decks by Sebastian Hempel
See All by Sebastian Hempel
Wer spricht denn da? - Logging in Java (JCON 2022)
shempel
0
30
Kryptographie für Einsteiger
shempel
0
780
Jobs as Code - Jenkins Pipeline Jobs
shempel
0
820
Kryptogragire für Java-Entwickler
shempel
0
1.2k
Integration von MicroServices
shempel
0
1.6k
Dokumentation schreiben kann Spaß machen! (2017)
shempel
0
1.1k
Minifliegen im Schwarm
shempel
0
1.3k
Puppenspielerein
shempel
0
1.1k
Puppet für Entwickler
shempel
0
2k
Other Decks in Programming
See All in Programming
Linux && Docker 研修/Linux && Docker training
forrep
24
4.5k
color-scheme: light dark; を完全に理解する
uhyo
5
390
時計仕掛けのCompose
mkeeda
1
300
データベースのオペレーターであるCloudNativePGがStatefulSetを使わない理由に迫る
nnaka2992
0
170
Rubyで始める関数型ドメインモデリング
shogo_tksk
0
120
バックエンドのためのアプリ内課金入門 (サブスク編)
qnighy
8
1.8k
Grafana Loki によるサーバログのコスト削減
mot_techtalk
1
130
SpringBoot3.4の構造化ログ #kanjava
irof
2
1k
SwiftUI Viewの責務分離
elmetal
PRO
1
240
1年目の私に伝えたい!テストコードを怖がらなくなるためのヒント/Tips for not being afraid of test code
push_gawa
0
210
コミュニティ駆動 AWS CDK ライブラリ「Open Constructs Library」 / community-cdk-library
gotok365
2
140
Honoをフロントエンドで使う 3つのやり方
yusukebe
7
3.3k
Featured
See All Featured
A Tale of Four Properties
chriscoyier
158
23k
The Pragmatic Product Professional
lauravandoore
32
6.4k
StorybookのUI Testing Handbookを読んだ
zakiyama
28
5.5k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Why Our Code Smells
bkeepers
PRO
336
57k
Raft: Consensus for Rubyists
vanstee
137
6.8k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.7k
Embracing the Ebb and Flow
colly
84
4.6k
GraphQLとの向き合い方2022年版
quramy
44
13k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
30
2.2k
The Cult of Friendly URLs
andyhume
78
6.2k
Typedesign – Prime Four
hannesfritz
40
2.5k
Transcript
Master of Puppets
Konfiguration durch Aktionen
Sage mir, wie die Konfiguration aussehen soll.
Wie funktioniert Puppet
Client Client System
Master Modules Client Client System
Master Modules Client Client System
Puppet stellt jedes mal die gewünschte Konfiguration her
Modules Subversion Benutzer Benutzer
Manifeste und Module
class sdv { user { "sdv": name => "sdv", home
=> "/home/sdv", shell => "/bin/bash", ensure => present } }
class openssh-server { package { "ssh-server": ensure => installed, }
service { "sshd": enable => true, ensure => running, Require => Package["ssh-server"] } }
Modul Manifest(e) Datei(en) PlugIn(s) Template(s)
Puppet Specials
architecture => x86_64 domain => hello.world.com fqdn => demo.hello.world.com hardwaremodel
=> x86_64 hostname => demo id => root interfaces => eth0 ipaddress => 10.3.xxx.xxx ipaddress_eth0 => 10.3.xxx.xxx is_virtual => true state => Abnahme
<IfDefine <%= fqdn %>> Header append X-Server <%=hostname %> </IfDefine>
/files/etc/aliases/7 /files/etc/aliases/7/name = "shutdown" /files/etc/aliases/7/value = "root" /files/etc/aliases/8 /files/etc/aliases/8/name =
"halt" /files/etc/aliases/8/value = "root" shutdown: root halt: root
Wie geht es weiter?
Implementierung Tipps und Tricks
Bildnachweis 1. Gonzo / KLEPER / Flickr 2. My First
Shell Script / Erin Donahue / Flickr 19. New blank books / Paperama / Flickr
Sebastian Hempel Staatliche geprüfter Informatiker Selbständiger Software- Entwickler und Dozent
in den Bereichen Java und OpenSource Clean Code Developer
[email protected]
http://www.it-hempel.de/