Enable cert-mon in all deployment configurations

This enables cert-mon service to run on controllers in all
deployment configurations (AIO, Standard, DC etc)

Depends-on: https://review.opendev.org/#/c/760214/

Change-Id: Ic2f793fe392fca21f0dd8eb55f7b5dee90a9a48b
Story: 2007361
Task: 41163
Signed-off-by: Sabeel Ansari <Sabeel.Ansari@windriver.com>
This commit is contained in:
Sabeel Ansari 2020-10-27 09:52:18 -04:00
parent 87a2ed8f28
commit b74550897c
2 changed files with 3 additions and 9 deletions

View File

@ -1,6 +1,3 @@
class platform::certmon {
if ($::platform::params::distributed_cloud_role == 'systemcontroller' or
$::platform::params::distributed_cloud_role == 'subcloud') {
include ::sysinv::certmon
}
}

View File

@ -703,14 +703,11 @@ class platform::sm
-> exec { 'Provision service-group storage-monitoring-services':
command => 'sm-provision service-group storage-monitoring-services',
}
# Provision cert-mon for systemcontroller and subcloud
if $dc_role =='systemcontroller' or $dc_role =='subcloud' {
exec { 'provision cert-mon service in controller-services group':
command => 'sm-provision service-group-member controller-services cert-mon'
}
-> exec { 'Provision cert-mon service in controller-services group':
command => 'sm-provision service-group-member controller-services cert-mon'
}
# On an AIO-DX system, cephmon DRBD must always be configured, even
# if ceph is not enabled. Configured, but not enabled services have
# no impact on the system