Project

General

Profile

Download (1.62 KB) Statistics
| Branch: | Tag: | Revision:
<%= ERB.new(File.read(File.expand_path("_header.erb",File.dirname(file)))).result(binding) -%>

[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

# Allow services in the 'puppet' group to access key (Foreman + proxy)
privatekeydir = $ssldir/private_keys { group = service }
hostprivkey = $privatekeydir/$certname.pem { mode = 640 }

# Puppet 3.0.x requires this in both [main] and [master] - harmless on agents
autosign = $confdir/autosign.conf { mode = 664 }

show_diff = <%= scope.lookupvar('::puppet::show_diff') %>

<% if @ca_server and !@ca_server.empty? -%>
# Use specified CA server
ca_server = <%= @ca_server %>
<% end -%>
<% if @ca_port and !@ca_port.to_s.empty? -%>
# Use specified CA port
ca_port = <%= @ca_port %>
<% end -%>
<% if @hiera_config and !@hiera_config.empty? -%>
hiera_config = <%= @hiera_config %>
<% end -%>
<% if @dns_alt_names and !@dns_alt_names.empty? -%>
dns_alt_names = <%= @dns_alt_names.join(",") %>
<% end -%>
<% if @use_srv_records -%>
use_srv_records = true
srv_domain = <%= @srv_domain %>
<% if @pluginsource -%>
pluginsource = <%= @pluginsource %>
<% end -%>
<% if @pluginfactsource -%>
pluginfactsource = <%= @pluginfactsource %>
<% end -%>
<% end -%>
<% if @syslogfacility and !@syslogfacility.empty? -%>

syslogfacility = <%= @syslogfacility %>
<% end -%>
(4-4/4)