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

Rule is not updated when source is removed #1241

Open
limanzhang-ess opened this issue Oct 25, 2024 · 0 comments
Open

Rule is not updated when source is removed #1241

limanzhang-ess opened this issue Oct 25, 2024 · 0 comments

Comments

@limanzhang-ess
Copy link

Describe the Bug

When a rule is created with source, for example
'006 accept HTTPS 443':
chain: 'INPUT'
state: "NEW"
dport: '443'
proto: tcp
source: some_ip
action: accept

Then source is removed:
'006 accept HTTPS 443':
chain: 'INPUT'
state: "NEW"
dport: '443'
proto: tcp
action: accept

The rule is not changed in iptables. It still holds the source and the module doesn't know the change.

Expected Behavior

Remove the source or destination in iptables when they are removed from puppet code.

Environment

  • puppet 7.33
  • Ubuntu 22.04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant