Merge "pxeboot should be provisioned after BnR"

This commit is contained in:
Zuul 2024-10-24 19:03:01 +00:00 committed by Gerrit Code Review
commit 9bc64ca31c

View File

@ -486,16 +486,12 @@ class platform::sm
############################ ############################
# PXEBOOT # PXEBOOT
# Create the PXEBoot IP service if it is configured
# PXEBoot only supports IPv4 config # PXEBoot only supports IPv4 config
# TODO(heitormatsui) review if we can change this 'if' or move elsewhere like the other ipvX services exec { 'Configure PXEBoot IPv4 service in SM (service-group-member pxeboot-ipv4)':
if str2bool($::is_initial_config) or str2bool($::usm_upgrade_in_progress) { command => 'sm-provision service-group-member controller-services pxeboot-ipv4',
exec { 'Configure PXEBoot IPv4 service in SM (service-group-member pxeboot-ipv4)': }
command => 'sm-provision service-group-member controller-services pxeboot-ipv4', -> exec { 'Configure PXEBoot IPv4 service in SM (service pxeboot-ipv4)':
} command => 'sm-provision service pxeboot-ipv4',
-> exec { 'Configure PXEBoot IPv4 service in SM (service pxeboot-ipv4)':
command => 'sm-provision service pxeboot-ipv4',
}
} }
if $system_mode == 'duplex-direct' or $system_mode == 'simplex' { if $system_mode == 'duplex-direct' or $system_mode == 'simplex' {