Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow customising the log prefix #5

Merged
merged 1 commit into from
Nov 15, 2020

Conversation

nbarrientos
Copy link
Collaborator

@nbarrientos nbarrientos commented Nov 15, 2020

This patch partly implements #2, allowing the caller of the module to configure the prefix that's used to log when packets reach the end of the chains. Perhaps the default values of the parameters of the nftables class should be moved to module-level Hiera data (data/common.yaml) to make it cleaner.

@duritong duritong merged commit 883389d into voxpupuli:master Nov 15, 2020
@duritong
Copy link
Collaborator

Thank you. Not sure about the data extraction, personally I like defaults in the code and only e.g. moving per distro defaults out into data. But well, that's not really a strong opinion.

@traylenator traylenator added the enhancement New feature or request label Dec 10, 2020
figless pushed a commit to figless/puppet-nftables that referenced this pull request Aug 25, 2021
0cf43fd Merge pull request voxpupuli#4 from cernops/dhcp6
37b2a3b Add class nftables::services::dhcpv6_client
883389d Merge pull request voxpupuli#5 from cernops/custom_log_prefix
4356626 Add rules for outgoing and incoming DHCPv6 client traffic
ed82738 Allow customising the log prefix
317b8d0 Merge pull request voxpupuli#3 from cernops/ai5973
20b9636 Add support for named sets
e4c3222 Use concat for table conf generation
18ec6f4 Fix rulenames which includes an index
e5eb742 Allow to specify prometheus source addresses
e73f2e9 Fix rule node exporter
8227cb1 Manage rule in dns
cb50fd7 Add rule in node_exporter
e105f14 Include table ip6 nat
248ef9d Add basic ip6 nat chains
579e27d Fix the regex for bridge names
2c00d76 Replace dashes with underlines

git-subtree-dir: code
git-subtree-split: 0cf43fd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants