comparison modules/apache/manifests/mod/itk.pp @ 275:d9352a684e62

Mass update of modules to remove deprecation warnings
author IBBoard <dev@ibboard.co.uk>
date Sun, 26 Jan 2020 11:36:07 +0000
parents 675c1cc61eaf
children b8d6ada284dd
comparison
equal deleted inserted replaced
274:b2571c28fc27 275:d9352a684e62
1 # @summary
2 # Installs MPM `mod_itk`.
3 #
4 # @param startservers
5 # Number of child server processes created on startup.
6 #
7 # @param minspareservers
8 # Minimum number of idle child server processes.
9 #
10 # @param maxspareservers
11 # Maximum number of idle child server processes.
12 #
13 # @param serverlimit
14 # Maximum configured value for `MaxRequestWorkers` for the lifetime of the Apache httpd process.
15 #
16 # @param maxclients
17 # Limit on the number of simultaneous requests that will be served.
18 #
19 # @param maxrequestsperchild
20 # Limit on the number of connections that an individual child server process will handle.
21 #
22 # @param enablecapabilities
23 # Drop most root capabilities in the parent process, and instead run as the user given by the User/Group directives with some extra
24 # capabilities (in particular setuid). Somewhat more secure, but can cause problems when serving from filesystems that do not honor
25 # capabilities, such as NFS.
26 #
27 # @param apache_version
28 # Used to verify that the Apache version you have requested is compatible with the module.
29 #
30 # @see http://mpm-itk.sesse.net for additional documentation.
31 #
1 class apache::mod::itk ( 32 class apache::mod::itk (
2 $startservers = '8', 33 $startservers = '8',
3 $minspareservers = '5', 34 $minspareservers = '5',
4 $maxspareservers = '20', 35 $maxspareservers = '20',
5 $serverlimit = '256', 36 $serverlimit = '256',
6 $maxclients = '256', 37 $maxclients = '256',
7 $maxrequestsperchild = '4000', 38 $maxrequestsperchild = '4000',
39 $enablecapabilities = undef,
8 $apache_version = undef, 40 $apache_version = undef,
9 ) { 41 ) {
10 include ::apache 42 include ::apache
11 43
12 $_apache_version = pick($apache_version, $apache::apache_version) 44 $_apache_version = pick($apache_version, $apache::apache_version)