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
Because the provider of this module uses the condition to check if the setting is already present, whenever the ip_filter change, a new Match block is added to the configuration and the previous one is not touched/modified/replaced/removed.
One solution to this problem would be to insert a comment (e.g. equal to the resource name?) and do the match on this comment instead of using the condition itself.
For the record, I'm currently using the following code to achieve what I need:
I'm using puppet to define a dynamic IP-based
Match
blocks like:Because the provider of this module uses the condition to check if the setting is already present, whenever the ip_filter change, a new
Match
block is added to the configuration and the previous one is not touched/modified/replaced/removed.One solution to this problem would be to insert a comment (e.g. equal to the resource name?) and do the match on this comment instead of using the condition itself.
For the record, I'm currently using the following code to achieve what I need:
The text was updated successfully, but these errors were encountered: