Révision 5d554e75
out::icmp: Add parameter documentation
manifests/rules/out/icmp.pp | ||
---|---|---|
1 | 1 |
# @summary control outbound icmp packages |
2 |
# |
|
3 |
# @param v4_types ICMP v4 types that should be allowed |
|
4 |
# @param v6_types ICMP v6 types that should be allowed |
|
5 |
# @param order the ordering of the rules |
|
6 |
# |
|
2 | 7 |
class nftables::rules::out::icmp ( |
3 |
# lint:ignore:parameter_documentation |
|
4 | 8 |
Optional[Array[String]] $v4_types = undef, |
5 | 9 |
Optional[Array[String]] $v6_types = undef, |
6 | 10 |
String $order = '10', |
7 |
# lint:endignore |
|
8 | 11 |
) { |
9 | 12 |
if $v4_types { |
10 | 13 |
$v4_types.each | String $icmp_type | { |
Formats disponibles : Unified diff