Defined Type: squid::acl
- Defined in:
-
manifests/acl.pp
Summary
Defines acl entries for a squid server.
Overview
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# File 'manifests/acl.pp', line 20
define squid::acl (
String $type,
String $aclname = $title,
Array $entries = [],
String $order = '05',
String $comment = "acl fragment for ${aclname}",
) {
$type_cleaned = regsubst($type,':','','G')
concat::fragment { "squid_acl_${aclname}":
target => $squid::config,
content => template('squid/squid.conf.acl.erb'),
order => "10-${order}-${type_cleaned}",
}
}
|