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

Make detection of am_policy_hub state more resiliant

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.12.3, 3.15.0
    • Component/s: None
    • Labels:
      None

      Description

      If $(sys.policy_hub) matches some element in $(sys.ip_addresses) then make sure that $(sys.statedir)/am_policy_hub is present. This is the same condition that is used during bootstrap to create the file and checking this regularly will help to avoid cases where hubs forget they are hubs.

      It should be possible to disable this by defining the class mpf_auto_am_policy_hub_state_disabled

        Attachments

          Activity

            People

            • Assignee:
              a10042 Nick Anderson
              Reporter:
              a10042 Nick Anderson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel