Skip to content

Instantly share code, notes, and snippets.

@elserhumano
Forked from gary4est/puppet.conf
Created August 6, 2021 13:49
Show Gist options
  • Save elserhumano/c7665a156ff22176d526693363a4a88c to your computer and use it in GitHub Desktop.
Save elserhumano/c7665a156ff22176d526693363a4a88c to your computer and use it in GitHub Desktop.

Revisions

  1. @gary4est gary4est created this gist Dec 23, 2011.
    64 changes: 64 additions & 0 deletions puppet.conf
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,64 @@
    Puppet Master /etc/puppet.conf

    [main]
    # The Puppet log directory.
    # The default value is '$vardir/log'.
    logdir = /var/log/puppet

    # Where Puppet PID files are kept.
    # The default value is '$vardir/run'.
    rundir = /var/run/puppet

    # Where SSL certificates are kept.
    # The default value is '$confdir/ssl'.
    ssldir = $vardir/ssl

    pluginsync = true

    [agent]
    # The file in which puppetd stores a list of the classes
    # associated with the retrieved configuratiion. Can be loaded in
    # the separate ``puppet`` executable using the ``--loadclasses``
    # option.
    # The default value is '$confdir/classes.txt'.
    classfile = $vardir/classes.txt

    # Where puppetd caches the local configuration. An
    # extension indicating the cache format is added automatically.
    # The default value is '$confdir/localconfig'.
    localconfig = $vardir/localconfig

    listen = true
    report = false
    environment = production
    server = puppetmaster.example.com

    [master]
    environment = production
    manifest = $confdir/env/$environment/manifests/site.pp
    manifests = $confdir/env/$environment/manifests
    modulepath = $confdir/env/$environment/modules

    ssl_client_header = SSL_CLIENT_S_DN
    ssl_client_verify_header = SSL_CLIENT_VERIFY

    verbose = true
    dns_alt_names = puppet,puppet.int.example.com,puppet01


    ######################################################

    Puppet Clients /etc/puppet.conf

    [main]
    logdir = /var/log/puppet
    rundir = /var/run/puppet
    vardir = /var/lib/puppet
    ssldir = $vardir/ssl
    pluginsync = true
    report = true
    server = puppet
    environment = development

    certname = client01.int.example.com