Mercurial > repos > other > Puppet
view 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 |
line wrap: on
line source
<% if @itk and ! @itk.empty? -%> ## ITK statement <IfModule mpm_itk_module> <%- if @itk["user"] and @itk["group"] -%> AssignUserId <%= @itk["user"] %> <%= @itk["group"] %> <%- end -%> <%- if @itk["assignuseridexpr"] -%> AssignUserIdExpr <%= @itk["assignuseridexpr"] %> <%- end -%> <%- if @itk["assigngroupidexpr"] -%> AssignGroupIdExpr <%= @itk["assigngroupidexpr"] %> <%- end -%> <%- if @itk["maxclientvhost"] -%> MaxClientsVHost <%= @itk["maxclientvhost"] %> <%- end -%> <%- if @itk["nice"] -%> NiceValue <%= @itk["nice"] %> <%- end -%> <%- if @kernelversion >= '3.5.0' -%> <%- if @itk["limituidrange"] -%> LimitUIDRange <%= @itk["limituidrange"] %> <%- end -%> <%- if @itk["limitgidrange"] -%> LimitGIDRange <%= @itk["limitgidrange"] %> <%- end -%> <%- end -%> </IfModule> <% end -%>