Project

General

Profile

Download (1.71 KB) Statistics
| Branch: | Tag: | Revision:
### Next part of the file is managed by a different template ###
## Module: '<%= scope.to_hash['module_name'] %>'

[agent]
# The file in which puppetd stores a list of the classes
# associated with the retrieved configuration. Can be loaded in
# the separate ``puppet`` executable using the ``--loadclasses``
# option.
# The default value is '$statedir/classes.txt'.
classfile = <%= scope.lookupvar('::puppet::classfile') %>

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

# Disable the default schedules as they cause continual skipped
# resources to be displayed in Foreman - only for Puppet >= 3.4
default_schedules = false

report = true
pluginsync = <%= scope.lookupvar('::puppet::pluginsync') %>
masterport = <%= scope.lookupvar("::puppet::port") rescue 8140 %>
environment = <%= @environment %>
certname = <%= @clientcert %>
<% if !@use_srv_records -%>
server = <%= if ( @puppetmaster and !@puppetmaster.empty? ) then @puppetmaster else @fqdn end %>
<% end -%>
listen = <%= scope.lookupvar('::puppet::listen') %>
splay = <%= scope.lookupvar('::puppet::splay') %>
splaylimit = <%= scope.lookupvar('::puppet::splaylimit') %>
runinterval = <%= scope.lookupvar('::puppet::runinterval') %>
noop = <%= scope.lookupvar('::puppet::agent_noop') %>
configtimeout = <%= scope.lookupvar('::puppet::configtimeout') %>
usecacheonfailure = <%= scope.lookupvar('::puppet::usecacheonfailure') %>
    (1-1/1)