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

Promise the full contents of a file: Files promise content attribute

    XMLWordPrintable

    Details

    • Story Points:
      0

      Description

      I think this would be a great addition to make files promises easier for beginners, and more advanced users as well. You can achieve the same with templates today, but it is not intuitive.

      bundle agent main
      {
        files:
          "/tmp/hello"
            content => "Hello, world!\n";
      }
      

      If https://tracker.mender.io/browse/CFE-3269 is resolved, it would also be created by default.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lluis Lluís Campos
                Reporter:
                olehermanse Ole Herman Schumacher Elgesem
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel