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

firewall : Using class ordering with Package and Service induces a circular dependency

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: firewall
    • Labels:
      None
    • Environment:

      puppet-agent-6.15.0-1.el7.x86_64
      puppetserver-6.11.0-1.el8.noarch
      Description: CentOS Linux release 8.1.1911 (Core)
      mod 'puppetlabs-firewall', '2.4.0'

    • Template:
      MODULES Bug Template
    • Acceptance Criteria:
      Hide

      Using class ordering should not break.

      Show
      Using class ordering should not break.
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

       Using this minimal role:

      class role::minimum {
          class { '::firewall': }
          Package <| |> -> Service <| |>
      }

      Results in this error: 

      Error: Found 1 dependency cycle:
      (Package[iptables-services] => Service[firewalld] => Package[iptables-services])\nTry the '--graph' option and opening the resulting '.dot' file in OmniGraffle or GraphViz
      Error: Failed to apply catalog: One or more resource dependency cycles detected in graph
      
      

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            greggles Greg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Zendesk Support