Ironic: manage PXE environment for conductors

Change-Id: Icb9633134114041bbd497e7652482dd5d34c9327
Depends-On: I8b83eff694316755e4dd2dbcde7b569472893bc5
Partially-Implements: blueprint ironic-integration
This commit is contained in:
Dmitry Tantsur 2016-08-26 13:41:46 +02:00
parent 224b918eef
commit 2f06663fa2

View File

@ -22,8 +22,13 @@
# (Optional) The current step of the deployment # (Optional) The current step of the deployment
# Defaults to hiera('step') # Defaults to hiera('step')
# #
# [*manage_pxe*]
# (Optional) Whether to manage the PXE/iPXE environment for the conductor.
# Defaults to true
#
class tripleo::profile::base::ironic::conductor ( class tripleo::profile::base::ironic::conductor (
$step = hiera('step'), $step = hiera('step'),
$manage_pxe = true,
) { ) {
include ::tripleo::profile::base::ironic include ::tripleo::profile::base::ironic
@ -32,5 +37,8 @@ class tripleo::profile::base::ironic::conductor (
include ::ironic::drivers::ipmi include ::ironic::drivers::ipmi
include ::ironic::drivers::pxe include ::ironic::drivers::pxe
include ::ironic::conductor include ::ironic::conductor
if $manage_pxe {
include ::ironic::pxe
}
} }
} }