stx-puppet/puppet-manifests
Salman Rana c41a92ab95 Configure and Provision dc-certmon
This commit makes the necessary changes to
platform::sm to configure and provision the new dc-certmon service.

Note: The certmon module will be revisited later to remove
migrated functionality once dccertmon is fully implemented
and operational.

These changes are part of a greater set of commits to introduce
the dccertmon service:
  [1] https://review.opendev.org/c/starlingx/distcloud/+/941210
  [2] https://review.opendev.org/c/starlingx/ha/+/941205

For background and context, please see commit message from [1].

Test plan:
  - PASS: Bootstrap and unlock a DC system:
          1) Subcloud
          2) DC System Controller
          Verify service is started.
  - PASS: Bootstrap and unlock a non-DC system (standalone AIO):
          - Verify Standalone non-DC system controller doesn't have
            service started
  - PASS: Run 'sm-restart service dccertmon' and verify the dccertmon
          service was correctly restarted and service is working as
          expected.
  - PASS: Induce a failure in dccertmon code. Verify sm correctly
          restarts the service until the failure is corrected.

  Note: This commit has been tested alongside the related changes and
        their respective test plans. [1][2]

Depends-on: https://review.opendev.org/c/starlingx/ha/+/941205

Story: 2011311
Task: 51668

Change-Id: Idaa598a405693adcff577e55ade58a7bb986280b
Signed-off-by: Salman Rana <salman.rana@windriver.com>
2025-03-18 18:46:34 +00:00
..
2025-03-18 18:46:34 +00:00
2022-12-27 01:28:45 +00:00