HON’s Wiki # Puppet

Home / Automation

Contents

General

Setup (Debian)

Server

TODO: Install, configure, maybe install PuppetDB.

Client

  1. Install: apt install puppet-agent
  2. Specify server hostname using CLI or in file:
    • CLI method: puppet config set server <hostname> --section main
    • File method: In /etc/puppetlabs/puppet/puppet.conf, in the main section, set server = <hostname>.
  3. Create TLS cert and connect the agent to the server: puppet ssl bootstrap
  4. On the server, sign the CSR:
    • Show pending CSRs: puppet cert --list
    • Sign the CSR: puppetserver ca sign --vertname <name>
  5. Re-run the agent: puppet ssl bootstrap

Setup Notes

Usage

Puppet DSL and Files


hon.one | HON95/wiki | Edit page