-
-
Notifications
You must be signed in to change notification settings - Fork 61
RFC: ACL ordering defaults for deny #36
Copy link
Copy link
Open
Description
This is more a request for comment than an issue, but when defining ACLS, I found that I needed to specify an order for the denys to order them correctly. If this was defaulted in code to a higher priority such as below, then we could get away with the defaults. Thoughts?
define squid::http_access (
$action = 'allow',
$value = $title,
$order = undef,
) {
validate_re($action,['^allow$','^deny$'])
validate_string($value)
if !$order and $action == 'allow') {
$fragorder = '05'
} else {
$fragorder = '75'
}
concat::fragment{"squid_http_access_${value}":
target => $squid::config,
content => template('squid/squid.conf.http_access.erb'),
order => "20-${fragorder}-${action}",
}
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels