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

Generate failsafe.cf if it doesn't exist when needed

    XMLWordPrintable

    Details

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

      Description

      failsafe.cf is created in inputs/ during bootstrap, and if the update.cf policy gets broken later, cf-agent will try to run it.
      We should regenerate failsafe.cf in cf-agent when needed (if it doesn't exist when cf-agent automatically tries to run it) in case it gets removed after bootstrapping.

      Some discussion here (different approach): https://github.com/cfengine/masterfiles/pull/574

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                a10053 Marcin Pasinski
                Reporter:
                a10003 Eystein Maloy Stenberg
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel

                    Time Tracking

                    Estimated:
                    Original Estimate - 5 hours
                    5h
                    Remaining:
                    Not Specified
                    Logged:
                    Time Not Required
                    Not Specified