Upload
martin-zehetmayer
View
134
Download
0
Tags:
Embed Size (px)
Citation preview
Automate all the things! (with Puppet)
Martin Zehetmayer Linux Stammtisch 25.11.2014, November 25, 2014
Who am I?
Martin Zehetmayer (that’s me!)
Puppeteer since 2009
Linux & Open Source since 1996
RHCA and a few other things.
Visit me at
Xing (https://www.xing.com/profile/Martin Zehetmayer)Github (http://github.com/angrox)
Page 2Martin Zehetmayer Automate all the things! (with Puppet) November 25, 2014
On a shell not far from here ...
Page 3Martin Zehetmayer Automate all the things! (with Puppet) November 25, 2014
... the servers look like this
Page 4Martin Zehetmayer Automate all the things! (with Puppet) November 25, 2014
Why is this a fail?
Over time all servers are different.
Not reproduceable.
Does not scale.
Adminstrators hell!
Page 5Martin Zehetmayer Automate all the things! (with Puppet) November 25, 2014
But ... there is a solution!
Page 6Martin Zehetmayer Automate all the things! (with Puppet) November 25, 2014
Puppet Configuration Management
Page 7Martin Zehetmayer Automate all the things! (with Puppet) November 25, 2014
What is Puppet?
”Puppet is a configuration management systemthat allows you to define the state of your ITinfrastructure, then automatically enforces thecorrect state.”
Page 8Martin Zehetmayer Automate all the things! (with Puppet) November 25, 2014
Again, why do I need a Configuration Management?
Scalability ++
Security ++
Auditability ++
Reuseability ++
Agility ++
Cost Reduction
Page 9Martin Zehetmayer Automate all the things! (with Puppet) November 25, 2014
Architectural Overview
Page 10Martin Zehetmayer Automate all the things! (with Puppet) November 25, 2014
How to make the initial shell script better
Remember that?
Make it reproducable and enforce it:
Page 13Martin Zehetmayer Automate all the things! (with Puppet) November 25, 2014
And why Puppet?
There are a lot of configuration management tools:
SaltStack
Puppet
Chef
CFengine
Ansible
Why not using another one instead of puppet?
Page 14Martin Zehetmayer Automate all the things! (with Puppet) November 25, 2014
Why Puppet? (The Answers)
Advantages:
Easy to learn
Quick implementation
Broad Ecosystem from Puppetlabs
Integration in a lot of third party tools
Runs on all major Linux Distrubtions, *IXes and Windows
Most popular configuration management
Page 15Martin Zehetmayer Automate all the things! (with Puppet) November 25, 2014
Puppet Ecosystem
MCollective Server Orchestration
PuppetDB
Puppet Dashboard/Explorer/Board
Puppet Enterprise
... and a big big community!
Page 16Martin Zehetmayer Automate all the things! (with Puppet) November 25, 2014
Conclusion
With Puppet you have
More time for more important tasks
Ensured state of your environment
Reproduction of configuration items
Automation of everyday tasks
Page 17Martin Zehetmayer Automate all the things! (with Puppet) November 25, 2014