Skip to content

Instantly share code, notes, and snippets.

@b4ldr
Created March 28, 2014 14:51
Show Gist options
  • Save b4ldr/9834638 to your computer and use it in GitHub Desktop.
Save b4ldr/9834638 to your computer and use it in GitHub Desktop.
[main]
certname = <%= @fqdn %>
<% if @puppet_function == 'puppet_master' %>
dns_alt_names = master1,master,master.dns.example.com
<% end %>
vardir = /var/opt/lib/pe-puppet
logdir = /var/log/pe-puppet
rundir = /var/run/pe-puppet
modulepath = /etc/puppetlabs/puppet/modules:/opt/puppet/share/puppet/modules
server = master1.lax.dns.example.com
user = pe-puppet
group = pe-puppet
archive_files = true
archive_file_server = master1.lax.dns.example.com
<% if @puppet_function == 'puppet_master' %>
[master]
modulepath = $confdir/environment/$environment/modules:/opt/puppet/share/puppet/modules
parser = future
manifestdir = $confdir/environment/$environment/manifests
certname = <%= @fqdn %>
ca_name = 'Puppet CA generated on master1.lax.dns.example.com at 2014-01-20 21:57:17 +0000'
reports = http,puppetdb
reporturl = https://console1.lax.dns.example.com:443/reports/upload
node_terminus = exec
external_nodes = /etc/puppetlabs/puppet-dashboard/external_node
ssl_client_header = SSL_CLIENT_S_DN
ssl_client_verify_header = SSL_CLIENT_VERIFY
storeconfigs_backend = puppetdb
storeconfigs = true
<% end %>
[agent]
report = true
classfile = $vardir/classes.txt
localconfig = $vardir/localconfig
graph = true
pluginsync = true
environment = <%= @environment %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment