72 lines
3.2 KiB
Plaintext
72 lines
3.2 KiB
Plaintext
###############################################################################
|
|
########## puppet.conf generated by puppet ###########
|
|
###############################################################################
|
|
|
|
<% if @fqdn == @pt_pm_fqdn -%>
|
|
[main]
|
|
basemodulepath = <%= @pt_basemodulepath %>
|
|
certname = <%= @fqdn %>
|
|
codedir = <%= @pt_code_dir %>
|
|
environmentpath = <%= @pt_environmentspath %>
|
|
hiera_config = <%= @pt_hiera_config %>
|
|
hostprivkey = $privatekeydir/$certname.pem { mode = 640 }
|
|
logdir = <%= @pt_logdir %>
|
|
pluginfactsource = puppet:///<%= @pt_pluginfactsource %>
|
|
pluginsource = puppet:///<%= @pt_pluginsource %>
|
|
privatekeydir = <%= @pt_privatekeydir %> { group = service }
|
|
reports = <%= @pt_reports %>
|
|
rundir = <%= @pt_rundir %>
|
|
server = <%= @pt_pm_fqdn %>
|
|
show_diff = <%= @pt_show_diff %>
|
|
ssldir = <%= @pt_ssldir %>
|
|
vardir = <%= @pt_vardir %>
|
|
|
|
[agent]
|
|
classfile = $statedir/classes.txt
|
|
default_schedules = <%= @pt_default_schedules %>
|
|
environment = <%= @pt_environment %>
|
|
masterport = <%= @pt_masterport %>
|
|
noop = <%= @pt_noop %>
|
|
pluginsync = <%= @pt_pluginsync %>
|
|
report = <%= @pt_report %>
|
|
runinterval = <%= @pt_runinterval %>
|
|
splay = <%= @pt_splay %>
|
|
splaylimit = <%= @pt_splaylimit %>
|
|
usecacheonfailure = <%= @pt_usecacheonfailure %>
|
|
|
|
[server]
|
|
autosign = <%= @pt_autosign %> { mode = 0664 }
|
|
ca = <%= @pt_ca %>
|
|
certname = <%= @fqdn %>
|
|
external_nodes = <%= @pt_external_nodes %>
|
|
logdir = <%= @pt_logdir_master %>
|
|
node_terminus = <%= @pt_node_terminus %>
|
|
parser = <%= @pt_parser %>
|
|
rundir = <%= @pt_rundir_master %>
|
|
ssldir = <%= @pt_ssldir %>
|
|
strict_variables = <%= @pt_strict_variables %>
|
|
vardir = <%= @pt_vardir_master %>
|
|
<% if @pt_use_puppetdb != true -%>
|
|
storeconfigs = false
|
|
<% end -%>
|
|
<% if @pt_use_puppetdb == true -%>
|
|
storeconfigs = true
|
|
storeconfigs_backend = <%= @pt_storeconfigs_backend %>
|
|
<% end end -%>
|
|
<% if @fqdn != @pt_pm_fqdn -%>
|
|
[agent]
|
|
server = <%= @pt_pm_fqdn %>
|
|
classfile = $statedir/classes.txt
|
|
default_schedules = <%= @pt_default_schedules %>
|
|
environment = <%= @pt_environment %>
|
|
masterport = <%= @pt_masterport %>
|
|
noop = <%= @pt_noop %>
|
|
pluginsync = <%= @pt_pluginsync %>
|
|
report = <%= @pt_report %>
|
|
runinterval = <%= @pt_runinterval %>
|
|
splay = <%= @pt_splay %>
|
|
splaylimit = <%= @pt_splaylimit %>
|
|
usecacheonfailure = <%= @pt_usecacheonfailure %>
|
|
certificate_revocation = <%= @pt_cert_revocation %>
|
|
<% end %>
|