Project

General

Profile

« Previous | Next » 

Revision 1cd28048

Added by Michael Moll about 5 years ago

drop Puppet 4

View differences:

templates/server/puppetserver/conf.d/puppetserver.conf.erb
# (optional) the number of HTTP requests a given JRuby instance will handle in its lifetime.
max-requests-per-instance: <%= @server_max_requests_per_instance %>
<%- if scope.function_versioncmp([@server_puppetserver_version, '5.0']) >= 0 -%>
# (optional) The maximum number of requests that may be queued waiting to borrow a JRuby from the pool.
max-queued-requests: <%= @server_max_queued_requests %>
# (optional) Sets the upper limit for the random sleep set as a Retry-After header on 503 responses returned when max-queued-requests is enabled.
max-retry-delay: <%= @server_max_retry_delay %>
<%- end -%>
# (optional) Authorize access to Puppet master endpoints via rules
# specified in the legacy Puppet auth.conf file (if true) or via rules
# specified in the Puppet Server HOCON-formatted auth.conf (if false or not
......
<%- end -%>
]
<%- if scope.function_versioncmp([@server_puppetserver_version, '5.0']) >= 0 -%>
# Whether to enable http-client metrics; defaults to 'true'.
metrics-enabled: <%= @server_metrics %>
<%- end -%>
# The amount of time, in milliseconds, that an outbound HTTP connection
# will wait for data to be available before closing the socket. If not
# defined, defaults to 20 minutes. If 0, the timeout is infinite and if

Also available in: Unified diff