Projet

Général

Profil

Révision 5d554e75

ID5d554e7507c18a8e17d333ff5cace9abb393184b
Parent f9de4dee
Enfant d1864b10

Ajouté par Tim Meusel il y a plus d'un an

out::icmp: Add parameter documentation

Voir les différences:

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