Git Product home page Git Product logo

Comments (3)

saysjonathan avatar saysjonathan commented on July 3, 2024

Rule names need to start with a digit, similar to the rules in the examples. These digits are used to keep track of what order the rules are supposed to be inserted in. For example:

firewall { "JMS port":
dport => "5672",
jump => "ACCEPT",
state => "NEW",
proto => "tcp",
}

should be something like this:

firewall { "001 JMS port":
dport => "5672",
jump => "ACCEPT",
state => "NEW",
proto => "tcp",
}

We should probably add some validation to ensure those digits exist in the rule name.

from puppetlabs-firewall.

saysjonathan avatar saysjonathan commented on July 3, 2024

You're issue regarding the same rule being inserted more than once is caused by your patch for Ruby 1.8.5 support. Commit a7faff6f5b0de882bc72 resolves this issue.

from puppetlabs-firewall.

narkisr avatar narkisr commented on July 3, 2024

Thank you!

from puppetlabs-firewall.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.