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

Documentation about how vars can be defined in foreign bundles in specific circumstances

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: 3.15.0
    • Fix Version/s: 3.15.3, 3.17.0
    • Component/s: Documentation
    • Labels:
      None

      Description

      Documentation about how vars can be defined in foreign bundles in specific circumstances.

      how can I overwrite a variable from another bundle?
      In version 3.7 it worked, in version 3.15 it, unfortunately, does not work.

        bundle agent main
        {
          vars:
            "my_bundle.my_var" string => "Set from main";
        }
        bundle agent my_bundle
        {
          vars:
           "my_var" string => "Set from my_bundle";
        }
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel