You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like firewalld have changed the responses in v4 :-( - As you say, your workaround does work but this requires people to change their code when moving from firewalld 3 -> 4, so we should probably make the module backwardly compatible and recognize both %%REJECT%% and REJECT as the same
From what I can see from the changelogs this was introduced between 0.3.11-2 and 0.3.12-1, I really wish changes like this would be part of a major release as it breaks any tool that relies on consistent output from the firewall-cmd CLI (like this module)
The motivation seems to be hidden in a RedHat bugzilla ticket (RHBZ#1058794) that doesn't seem to be accessable publicly.
@t-woerner I'm not sure what kind of versioning system that firewalld uses, but changing the CLI output can break a lot of automation tools, it would be nice if these were better communicated in a major version release rather than just snuck in.
Today I faced with idempotency issue.
if set
target
with % symbolfirewall-cmd return value without %
in previous version
firewalld 3.9-14.el7
It returns correct value
Now I use value without %
as in result it generate correct value
but it looks like workaround.
Could you comment about this case?
The text was updated successfully, but these errors were encountered: