Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-8215

Tag filtering for skip_tag incorrectly expanded

    XMLWordPrintable

Details

    • Coremunity
    • Platform Core KANBAN
    • Needs Assessment
    • Bug Fix
    • Hide
      Tags specified via --skip_tags are no longer expanded by splitting on "::". This brings the behavior in line with how tags specified via --tags are handled. The behavior of --tags was fixed in PUP-4495.
      Show
      Tags specified via --skip_tags are no longer expanded by splitting on "::". This brings the behavior in line with how tags specified via --tags are handled. The behavior of --tags was fixed in PUP-4495 .
    • Needs Assessment

    Description

      --skip_tags foo::bar splits the tag on the namespace separator :: and expands to skip the set ['foo::bar', 'foo', 'bar']. Because resources are tagged with all parent tags, this means that every resource in the `foo` namespace is skipped when --skip_tags foo::bar is used. The same expansion issue was addressed for the --tags flag in PUP-4495, but it appears that the expansion logic for --tags and --skip_tags is separate.

      Attachments

        Issue Links

          Activity

            People

              jacob.helwig Jacob Helwig
              kevin Kevin Henner
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support