Projet

Général

Profil

Révision b46c9ce9

IDb46c9ce9b9ae234f42e3a826460f11074e3a75e0
Parent c7e37bdc
Enfant cba0cb86

Ajouté par Nacho Barrientos il y a plus de 4 ans

Remove a blank separating the doc string and the code

Otherwise the generator of the docs does not do the job :/

Voir les différences:

manifests/simplerule.pp
1
# @summary Provides a simplified interface to nftables::rule for basic use cases.
2
#   It's recommended to use nftables::rule directly if you feel comfortable with
3
#   nft's syntax.
1
# @summary Provides a simplified interface to nftables::rule
4 2
#
5 3
# @example allow incoming traffic from port 541 on port 543 TCP to a given IP range and count packets
6 4
#   nftables::simplerule{'my_service_in':
......
52 50
#
53 51
# @param counter
54 52
#   Enable traffic counters for the matched traffic.
55

  
56 53
define nftables::simplerule (
57 54
  Enum['present','absent'] $ensure = 'present',
58 55
  Pattern[/^[-a-zA-Z0-9_]+$/] $rulename = $title,

Formats disponibles : Unified diff