Historique | Voir | Annoter | Télécharger (1,71 ko)
Align filemode on RedHat to distro default
The RPM acutally ships the configuration and directory with0600/0700 while this module sets the mode to 0640/0750.
However, this has the drawback that on new nftables RPM versions,we are setting it back to the modules mode and triggering an nft...
Enable parameter_documentation lint
The linter checks that every parameter has been documented.
While corrections have been made to great many classes some morecomplicated examples have been left for now. Should be updatedas the files get touched.
https://github.com/domcleal/puppet-lint-param-docs
Prefix custom tables with custom- so they're loaded
Validate table spec
Implement intended failure
Auto fill simple table configuration
Use single line for each parameter definition
lint_fix results
Reload rules atomically
Background: The unit file for nftables on CentOS 8 contains:
```ExecStart=/sbin/nft -f /etc/sysconfig/nftables.confExecReload=/sbin/nft 'flush ruleset; include "/etc/sysconfig/nftables.conf";'ExecStop=/sbin/nft flush ruleset```...
Use concat for table conf generation
This way other components of the module will be able to add extra stuffto the table definitions like sets.
Explicitly set ensure file
initial release