Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-1748

puppetlabs/firewall does not know or handle --physdev-is-bridged properly

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • None
    • firewall
    • Puppet agent on Debain 7 XEN Dom0.

    • Modules
    • 1
    • MODS 2015-02-18

    Description

      As Firewall does not know how to handle or parse the --physdev-is-bridged switch from iptables-save.

      Error: Could not prefetch firewall provider 'iptables': Invalid address from IPAddr.new: vif18.0

      This can be fixed by adding the flag to @resource_map in "lib/puppet/provider/firewall/iptables.rb" and then adding the line:

      values = values.gsub(/--physdev-is-bridged/, '--physdev-is-bridged ""')
      

      to the section commented as `PRE-PARSE CLUDGING`.

      Attachments

        1. iptables
          0.9 kB
        2. my_basic_firewall.pp
          2 kB

        Issue Links

          Activity

            People

              jonathan.tripathy Jonny (JT) Tripathy
              gnif Geoffrey McRae
              Votes:
              3 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support

                  Time Tracking

                    Estimated:
                    Original Estimate - 5 minutes
                    5m
                    Remaining:
                    Remaining Estimate - 5 minutes
                    5m
                    Logged:
                    Time Spent - Not Specified
                    Not Specified