Révision 09cba182
Enable parameter_documentation lint
The linter checks that every parameter has been documented.
While corrections have been made to great many classes some more
complicated examples have been left for now. Should be updated
as the files get touched.
https://github.com/domcleal/puppet-lint-param-docs
manifests/bridges.pp | ||
---|---|---|
1 | 1 |
# allow forwarding traffic on bridges |
2 | 2 |
class nftables::bridges ( |
3 |
# lint:ignore:parameter_documentation |
|
3 | 4 |
Enum['present','absent'] $ensure = 'present', |
4 | 5 |
Regexp $bridgenames = /^br.+/ |
6 |
# lint:endignore |
|
5 | 7 |
) { |
6 | 8 |
if $ensure == 'present' { |
7 | 9 |
$interfaces = keys($facts['networking']['interfaces']) |
Formats disponibles : Unified diff