File: _itk.epp

package info (click to toggle)
puppet-module-puppetlabs-apache 12.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,664 kB
  • sloc: ruby: 275; sh: 32; makefile: 2
file content (29 lines) | stat: -rw-r--r-- 916 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<% if $itk and ! $itk.empty { -%>

  ## ITK statement
  <IfModule mpm_itk_module>
     <%- if $itk["user"] and $itk["group"] { -%>
     AssignUserId <%= $itk["user"] %> <%= $itk["group"] %>
     <%- } -%>
     <%- if $itk["assignuseridexpr"] { -%>
     AssignUserIdExpr <%= $itk["assignuseridexpr"] %>
     <%- } -%>
     <%- if $itk["assigngroupidexpr"] { -%>
     AssignGroupIdExpr <%= $itk["assigngroupidexpr"] %>
     <%- } -%>
     <%- if $itk["maxclientvhost"] { -%>
     MaxClientsVHost <%= $itk["maxclientvhost"] %>
     <%- } -%>
     <%- if $itk["nice"] { -%>
     NiceValue <%= $itk["nice"] %>
     <%- } -%>
     <%- if $kernelversion >= '3.5.0' { -%>
       <%- if $itk["limituidrange"] { -%>
     LimitUIDRange <%= $itk["limituidrange"] %>
       <%- } -%>
       <%- if $itk["limitgidrange"] { -%>
     LimitGIDRange <%= $itk["limitgidrange"] %>
       <%- } -%>
     <%- } -%>
  </IfModule>
<% } -%>