File: _allow.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 (7 lines) | stat: -rw-r--r-- 217 bytes parent folder | download
1
2
3
4
5
6
7
    Order deny,allow
    Deny from all
<% if $allow_from and !$allow_from.empty { -%>
    Allow from <%= Array($allow_from).join(" ") %>
<% } else { -%>
    Allow from <%= Array($allow_defaults).join(" ") %>
<% } -%>