Merge "Add new configuration for hbs cluster info"

This commit is contained in:
Zuul 2018-11-05 19:54:51 +00:00 committed by Gerrit Code Review
commit fa3a1dd05f

View File

@ -110,6 +110,10 @@ class platform::sm
include ::platform::kubernetes::params include ::platform::kubernetes::params
$kubernetes_enabled = $::platform::kubernetes::params::enabled $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 ################ ############ NFS Parameters ################
# Platform NFS network is over the management network # 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 # Create the PXEBoot IP service if it is configured
if str2bool($::is_initial_config) { if str2bool($::is_initial_config) {
exec { 'Configure PXEBoot IP service in SM (service-group-member pxeboot-ip)': exec { 'Configure PXEBoot IP service in SM (service-group-member pxeboot-ip)':