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

server bundle added to bundlesequence results in error that it is not a defined bundle

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Rejected
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cf-serverd, Documentation
    • Labels:
      None

      Description

      If a server bundles are added to the bundlesequence then there is an error that the bundle is not defined.

      For example this promises.cf:
      {{bundle server param_access_rules(key, dir)
      {
      access:
      "/srv/cfengine3/$(dir)"
      admit_keys =>

      { $(key) }

      ;
      }

      body common control
      {

      bundlesequence =>

      { param_access_rules("SHA=008647e169b06b93c52f4d0f0517ecd4eec893ee150d8f6ab842e2040160a7bb", "host001"), }; }

      }}

      produces these errors when the agent executes.

      {{[root@hub tmp]# cf-agent -KIf ./promises.cf
      error: Bundle 'param_access_rules' listed in the bundlesequence is not a defined bundle
      error: Fatal CFEngine error: Errors in promise bundles: could not verify bundlesequence
      }}

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                a10003 Eystein Maloy Stenberg
                Reporter:
                a10042 Nick Anderson
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Summary Panel