Révision b46c9ce9
Remove a blank separating the doc string and the code
Otherwise the generator of the docs does not do the job :/
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