65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
# File 'manifests/refresh_pattern.pp', line 65
define squid::refresh_pattern (
Integer $max,
Integer $min,
Integer $percent,
Boolean $case_sensitive = true,
Optional[String[1]] $options = undef,
String $order = '05',
String $pattern = $title,
String $comment = "refresh_pattern fragment for ${pattern}",
) {
concat::fragment { "squid_refresh_pattern_${pattern}":
target => $squid::config,
content => epp('squid/squid.conf.refresh_pattern.epp', {
'comment' => $comment,
'case_sensitive' => $case_sensitive,
'pattern' => $pattern,
'max' => $max,
'min' => $min,
'options' => $options,
'percent' => $percent,
}),
order => "45-${order}",
}
}
|