Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-3411

When regular expression is used to define abortbundleclasses cf-agent emits errors

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: 3.12.2, 3.15.2
    • Fix Version/s: None
    • Component/s: cf-agent
    • Labels:
    • Story Points:
      3
    • Complexity:
      S

      Description

      When regular expression is used to define abortbundleclasses cf-agent emits errors:

         error: Unable to parse class expression 'ITSV_BUNDLE_ABORT.*'
         error: Unable to parse class expression 'ITSV_BUNDLE_ABORT.*'
         error: Unable to parse class expression 'ITSV_BUNDLE_ABORT.*'
         error: Bundle 'example_abort_bundle' aborted on defined class 'ITSV_BUNDLE_ABORT_INVALID_USER'
      

      The agent does appear to abort the bundle properly, but it seems that somewhere it's trying to treat a regex as a class expression.

        Attachments

        1. abort_agent.cf
          0.3 kB
        2. abort_bundle.cf
          0.6 kB
        3. def.json
          0.4 kB

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                a10042 Nick Anderson
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Summary Panel