1.9 KiB
1.9 KiB
title
title |
---|
Puppet |
Puppet
What is Puppet
Puppet is a configuration management tool where a developer describes the target state of a number of resources using a declarative language. In simple words, Puppet is a system for automating system administration tasks.
Here are a few resources that will help in introduction to Puppet:
Puppet documentation
Where to start
- Play around with Puppet. You might want to use Puppet Training
- Adopt Hiera as early as possible to allow you to write clean code
- Adopt the Roles and Profiles pattern as early as possible
- Once Hiera and the Roles and Profiles pattern have been adopted look into the following:
- Test Driven Development using rspec-puppet
- Deployment through controlled environments with r10k
Hiera
Use Hiera to separate your data / parameter values from your Puppet code
eyaml
When you need to store sensitive data such as password for service accounts, use eyaml as a Hiera back-end. The secrets will become available in your puppet code as facts.
Have a look at the following article for more information: Encrypt Your Data Using Hiera-Eyaml