File: cache_disk.conf.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 (26 lines) | stat: -rw-r--r-- 810 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
<% |
  Optional[String] $cache_root            = undef,
  Array[String] $cache_enable             = [],
  Optional[Integer] $cache_dir_length     = undef,
  Optional[Integer] $cache_dir_levels     = undef,
  Optional[Integer] $cache_max_filesize   = undef,
  Optional[String] $cache_ignore_headers  = undef,
| -%>
<%- if $cache_enable { -%>
  <%- $cache_enable.each |$enable| { -%>
CacheEnable disk <%= $enable %>
  <%- } -%>
<%- } -%>
CacheRoot "<%= $cache_root %>"
<%- if $cache_dir_levels { -%>
CacheDirLevels <%= $cache_dir_levels %>
<%- } -%>
<%- if $cache_dir_length { -%>
CacheDirLength <%= $cache_dir_length %>
<%- } -%>
<%- if $cache_max_filesize { -%>
CacheMaxFileSize <%= $cache_max_filesize %>
<%- } -%>
<%- if $cache_ignore_headers { -%>
CacheIgnoreHeaders <%= $cache_ignore_headers -%>
<%- } -%>