Puppet
Puppet (2005) is an open-core software configuration management tool available since 2005. It runs on many Unix-like systems as well as on Microsoft Windows, and includes its own declarative language to describe system configuration.
Installation
brew cask install puppetry
Commands
facter
puppet agent --test
puppet agent -t
puppet apply file.pp
puppet cert list Puppet cert sign mycertname
Example puppet file
file {'/tmp/my-example-ip': # resource type file and filename ensure => present, # make sure it exists mode => '0644', # file permissions content => "My Public IP Address is: ${ipaddress_eth0}.\n", # note the ipaddress_eth0 fact }
See also Ansible lineinfile module
Activities
- Read Puppet release notes: https://puppet.com/docs/puppet/latest/release_notes_puppet.html
- Read Puppet source code: https://github.com/puppetlabs/puppet
- Read https://blog.csanchez.org/2012/03/22/introduction-to-puppet/
Related terms
- Puppet manifests:
/etc/puppet/manifests/site.pp
See also
- Ruby, Clojure
- Configuration management: Chef, cdist, capistrano, Ansible, puppet, SaltStack
- IaC: Terraform, Chef, cdist, capistrano, Harrow, puppet, Ansible, CFEngine, Cloud Deployment Manager, pulumi, juju, SaltStack, Azure Resource Manager (ARM), Google Deployment Manager, AWS CloudFormation, Pulumi, Heat, Spacelift, Oracle Cloud Resource Manager, KICS, Troposphere, CaC, IaC scanning
Advertising: