![Page 1: Configuration Management with PuppetConfiguration Management with Puppet client/server. Puppet client/server Secure communication ... Tool to store manifests data. Different Backends](https://reader033.vdocuments.mx/reader033/viewer/2022051107/5ff50a0a40ece716f3334553/html5/thumbnails/1.jpg)
Configuration Management with Puppetclient/server
![Page 2: Configuration Management with PuppetConfiguration Management with Puppet client/server. Puppet client/server Secure communication ... Tool to store manifests data. Different Backends](https://reader033.vdocuments.mx/reader033/viewer/2022051107/5ff50a0a40ece716f3334553/html5/thumbnails/2.jpg)
Puppet client/server
● Secure communication ○ over https○ Uses x.509 certificates
● Ecosystem○ Version Control○ puppetdb○ hiera○ foreman
● Support Environments
![Page 3: Configuration Management with PuppetConfiguration Management with Puppet client/server. Puppet client/server Secure communication ... Tool to store manifests data. Different Backends](https://reader033.vdocuments.mx/reader033/viewer/2022051107/5ff50a0a40ece716f3334553/html5/thumbnails/3.jpg)
Manifests Compile
Puppet-D
ev
Managed-N
ode
writes
transform
![Page 4: Configuration Management with PuppetConfiguration Management with Puppet client/server. Puppet client/server Secure communication ... Tool to store manifests data. Different Backends](https://reader033.vdocuments.mx/reader033/viewer/2022051107/5ff50a0a40ece716f3334553/html5/thumbnails/4.jpg)
Puppet run with C/S
![Page 5: Configuration Management with PuppetConfiguration Management with Puppet client/server. Puppet client/server Secure communication ... Tool to store manifests data. Different Backends](https://reader033.vdocuments.mx/reader033/viewer/2022051107/5ff50a0a40ece716f3334553/html5/thumbnails/5.jpg)
Secure communication
1. Client generate Certificate2. Client send certificate to puppet master3. Puppet master stores client certificate
request 4. Admin approve request5. Client receive signed certificate6. Client and Master can communicate
![Page 6: Configuration Management with PuppetConfiguration Management with Puppet client/server. Puppet client/server Secure communication ... Tool to store manifests data. Different Backends](https://reader033.vdocuments.mx/reader033/viewer/2022051107/5ff50a0a40ece716f3334553/html5/thumbnails/6.jpg)
Ecosystem
● hiera○ Tool to store manifests data. ○ Different Backends
■ hierarchical files, DB, Rest Application ...● puppetdb
○ Tool to store catalogs, facts and reports in DB○ Useful for “exported resources”○ Tool to query your puppet nodes
● Foreman○ swiss knife○ Configure provisioning, communicate with the
infrastructure, show graphical reports
![Page 7: Configuration Management with PuppetConfiguration Management with Puppet client/server. Puppet client/server Secure communication ... Tool to store manifests data. Different Backends](https://reader033.vdocuments.mx/reader033/viewer/2022051107/5ff50a0a40ece716f3334553/html5/thumbnails/7.jpg)
Ecosystem
● version control system○ To manage the puppet manifests/environments○ Tools
■ Subversion (bad)■ GIT (good)■ Any other (mad)
![Page 8: Configuration Management with PuppetConfiguration Management with Puppet client/server. Puppet client/server Secure communication ... Tool to store manifests data. Different Backends](https://reader033.vdocuments.mx/reader033/viewer/2022051107/5ff50a0a40ece716f3334553/html5/thumbnails/8.jpg)
EnvironmentsEnvironments are isolated groups of puppet agent nodes. A puppet
master server can serve each environment with completely different
main manifests and modulepaths.
This frees you to use different versions of the same modules for
different populations of nodes, which is useful for testing changes to
your Puppet code before implementing them on production machines.
(You could also do this by running a separate puppet master for
testing, but using environments is often easier.)
https://docs.puppetlabs.com/puppet/latest/reference/environments.html
![Page 9: Configuration Management with PuppetConfiguration Management with Puppet client/server. Puppet client/server Secure communication ... Tool to store manifests data. Different Backends](https://reader033.vdocuments.mx/reader033/viewer/2022051107/5ff50a0a40ece716f3334553/html5/thumbnails/9.jpg)
Environments
● Development /Test /Integration● Separate code
○ departments○ location
● Could be represented with branches