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

inputs/ directory should be rotated out before the bootstrap process touches it

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Rejected
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Bootstrap
    • Labels:
      None

      Description

      During bootstrap, right when we're about to start receiving the new contents of the @inputs/@ directory, we should rename the old @inputs/@ directory because otherwise its contents will be lost.

      This is a user convenience, not strictly required, but it makes accidental bootstrap a lot less painful.

      I suggest simply renaming @inputdir@ to @inputdir-YYYYMMDD_HHMM@ which is fast and atomic.

        Attachments

          Activity

            People

            • Assignee:
              a10038 jimis (Dimitrios Apostolou)
              Reporter:
              jiraadmin Old User (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel