Skip to content

Remove group of FW rules #503

@DanielTei

Description

@DanielTei

Hi everyone,
Just recently started using this module, and I was wondering if there's a way to remove multiple firewall rules that belong to one group.

Been using a simple block to try and do this:

dsc_firewall { 'Remove fw rules':
    dsc_name         => '*',
    dsc_group        => 'examplegroup',
    dsc_ensure       => 'Absent',
  }

That doesn't error out, but doesn't actually remove the rules. Tried escaping the wildcard with a backslash but same thing. Any thoughts?

Thanks in advance,
Daniel

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionThe issue is a question.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions