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

Cannot edit file that are link

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: 3.6.6, 3.7.3
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Linux

      Description

      Cannot edit link with cf-agent
      /tmp $ ln -s source.txt dest.txt

      bundle agent test

      { files: "/tmp/dest.txt" edit_line => add_line; }

      bundle edit_line add_line

      { insert_lines: "test"; }

      cf-agent -b test -K ./test.cf
      error: Promised to edit '/tmp/dest.txt', but file does not exist

      Couldn't find any easy workaround

        Attachments

          Activity

            People

            • Assignee:
              a10003 Eystein Maloy Stenberg
              Reporter:
              ncharles Nicolas Charles
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: