aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Tantsur <divius.inside@gmail.com>2016-08-26 13:41:46 +0200
committerDmitry Tantsur <divius.inside@gmail.com>2016-08-31 11:34:20 +0200
commit2f06663fa20ed52ae43b0d3dbf77f7068771b622 (patch)
tree8663f8f78a07d07e0080292a075d3899b49d8ffd
parent224b918eefc7193e4e5dbe6e0055e2be2b3f121f (diff)
Ironic: manage PXE environment for conductors
Change-Id: Icb9633134114041bbd497e7652482dd5d34c9327 Depends-On: I8b83eff694316755e4dd2dbcde7b569472893bc5 Partially-Implements: blueprint ironic-integration
-rw-r--r--manifests/profile/base/ironic/conductor.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/profile/base/ironic/conductor.pp b/manifests/profile/base/ironic/conductor.pp
index 2cb61fb..d8a6e7d 100644
--- a/manifests/profile/base/ironic/conductor.pp
+++ b/manifests/profile/base/ironic/conductor.pp
@@ -22,8 +22,13 @@
# (Optional) The current step of the deployment
# 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 (
$step = hiera('step'),
+ $manage_pxe = true,
) {
include ::tripleo::profile::base::ironic
@@ -32,5 +37,8 @@ class tripleo::profile::base::ironic::conductor (
include ::ironic::drivers::ipmi
include ::ironic::drivers::pxe
include ::ironic::conductor
+ if $manage_pxe {
+ include ::ironic::pxe
+ }
}
}