File: cache.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 (30 lines) | stat: -rw-r--r-- 1,088 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
30
<% |
  Optional[Array[String[1]]] $cache_ignore_headers    = undef,
  Optional[Integer] $cache_default_expire             = undef,
  Optional[Integer] $cache_max_expire                 = undef,
  Optional[Apache::OnOff] $cache_ignore_no_lastmod    = undef,
  Optional[Apache::OnOff] $cache_header               = undef,
  Optional[Apache::OnOff] $cache_lock                 = undef,
  Optional[Apache::OnOff] $cache_ignore_cache_control = undef,
| -%>
<%- if $cache_default_expire { -%>
CacheDefaultExpire <%= $cache_default_expire %>
<%- } -%>
<%- if $cache_max_expire { -%>
CacheMaxExpire <%= $cache_max_expire %>
<%- } -%>
<%- if $cache_ignore_no_lastmod { -%>
CacheIgnoreNoLastMod <%= $cache_ignore_no_lastmod %>
<%- } -%>
<%- if $cache_header { -%>
CacheHeader <%= $cache_header %>
<%- } -%>
<%- if $cache_lock { -%>
CacheLock <%= $cache_lock %>
<%- } -%>
<%- if $cache_ignore_cache_control { -%>
CacheIgnoreCacheControl <%= $cache_ignore_cache_control %>
<%- } -%>
<%- if ! empty($cache_ignore_headers) { -%>
CacheIgnoreHeaders <%= $cache_ignore_headers.sort.join(' ') %>
<%- } -%>