Mercurial > repos > other > Puppet
comparison modules/apache/templates/vhost/_itk.erb @ 0:956e484adc12
Initial public release of Puppet configs
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 16 Aug 2014 19:47:38 +0000 |
parents | |
children | 37675581a273 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:956e484adc12 |
---|---|
1 <% if @itk and ! @itk.empty? -%> | |
2 ## ITK statement | |
3 <IfModule mpm_itk_module> | |
4 <%- if @itk["user"] and @itk["group"] -%> | |
5 AssignUserId <%= @itk["user"] %> <%= @itk["group"] %> | |
6 <%- end -%> | |
7 <%- if @itk["assignuseridexpr"] -%> | |
8 AssignUserIdExpr <%= @itk["assignuseridexpr"] %> | |
9 <%- end -%> | |
10 <%- if @itk["assigngroupidexpr"] -%> | |
11 AssignGroupIdExpr <%= @itk["assigngroupidexpr"] %> | |
12 <%- end -%> | |
13 <%- if @itk["maxclientvhost"] -%> | |
14 MaxClientsVHost <%= @itk["maxclientvhost"] %> | |
15 <%- end -%> | |
16 <%- if @itk["nice"] -%> | |
17 NiceValue <%= @itk["nice"] %> | |
18 <%- end -%> | |
19 <%- if @kernelversion >= '3.5.0' -%> | |
20 <%- if @itk["limituidrange"] -%> | |
21 LimitUIDRange <%= @itk["limituidrange"] %> | |
22 <%- end -%> | |
23 <%- if @itk["limitgidrange"] -%> | |
24 LimitGIDRange <%= @itk["limitgidrange"] %> | |
25 <%- end -%> | |
26 <%- end -%> | |
27 </IfModule> | |
28 <% end -%> |