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

inherit for methods not working

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Rejected
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.2
    • Component/s: Evaluation
    • Labels:
      None

      Description

      Cannot make inherit work.

      <pre>
      body common control
      {
      bundlesequence =>

      { "main", }

      ;
      }

      bundle agent main

      { methods: "any" inherit => 'true', usebundle => test; reports: inherit_me:: "PASS"; !inherit_me:: "FAIL"; } bundle agent test { classes: "inherit_me" expression => "any"; }

      </pre>

      Expected results: PASS

      Actual results: FAIL

      Tested with 3.5.2 and CFEngine Core 3.7.0a1.ef9552a

        Attachments

          Activity

            People

            • Assignee:
              a10042 Nick Anderson
              Reporter:
              neilhwatson Neil Watson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel