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

copy_from multiple servers crashes if "localhost" is in the list of servers (but not first)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.0
    • Component/s: Promise type: files
    • Labels:
      None
    • Platform:
      Any

      Description

      Simple policy to reproduce, it would be nice to have an acceptance test based on this one:

      <pre>
      body common control
      {
      bundlesequence =>

      { main }

      ;
      }

      bundle agent main
      {
      files:
      "/tmp/abc" copy_from => q("/tmp/blah");
      }

      body copy_from q(sourcedir)
      {
      source => "$(sourcedir)";
      servers =>

      { "x", "localhost" }

      ;
      }
      </pre>

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                a10050 Edward Welbourne (Inactive)
                Reporter:
                a10038 jimis (Dimitrios Apostolou)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel