From ae27c7367ab658c258ebc3d94378eaa281f82293 Mon Sep 17 00:00:00 2001 From: Bin Qian Date: Tue, 30 Oct 2018 14:02:08 -0400 Subject: [PATCH] Add new configuration for hbs cluster info Store 2 new system configurations: sm_client_port, and sm_server_port to sm db. Story: 2003577 Task: 27727 Depends-On: I1a3dbaec78de591ef0de75ef9cafab48bcbb4dbf Change-Id: I6c4885de92b311932c6934b5cb9acf1a00657bb2 Signed-off-by: Bin Qian --- puppet-manifests/src/modules/platform/manifests/sm.pp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/puppet-manifests/src/modules/platform/manifests/sm.pp b/puppet-manifests/src/modules/platform/manifests/sm.pp index 90365866b1..ee5207a7c5 100755 --- a/puppet-manifests/src/modules/platform/manifests/sm.pp +++ b/puppet-manifests/src/modules/platform/manifests/sm.pp @@ -110,6 +110,10 @@ class platform::sm include ::platform::kubernetes::params $kubernetes_enabled = $::platform::kubernetes::params::enabled + include ::platform::mtce::params + $sm_client_port = $::platform::mtce::params::sm_client_port + $sm_server_port = $::platform::mtce::params::sm_server_port + ############ NFS Parameters ################ # Platform NFS network is over the management network @@ -330,6 +334,10 @@ class platform::sm } } + exec { 'Configure sm server and client port': + command => "sm-configure system --sm_client_port=${sm_client_port} --sm_server_port=${sm_server_port}", + } + # Create the PXEBoot IP service if it is configured if str2bool($::is_initial_config) { exec { 'Configure PXEBoot IP service in SM (service-group-member pxeboot-ip)':