Ironic: manage PXE environment for conductors
authorDmitry Tantsur <divius.inside@gmail.com>
Fri, 26 Aug 2016 11:41:46 +0000 (13:41 +0200)
committerDmitry Tantsur <divius.inside@gmail.com>
Wed, 31 Aug 2016 09:34:20 +0000 (11:34 +0200)
Change-Id: Icb9633134114041bbd497e7652482dd5d34c9327
Depends-On: I8b83eff694316755e4dd2dbcde7b569472893bc5
Partially-Implements: blueprint ironic-integration

manifests/profile/base/ironic/conductor.pp

index 2cb61fb..d8a6e7d 100644 (file)
 #   (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
+      }
   }
 }