From 26cfae74ea4db09be5210778a09d64b9b44826a4 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Mon, 14 Oct 2024 02:21:48 +0900 Subject: [PATCH] Create dnsmasq-tftp-server.conf at the correct timing It should be created during the config phase, especially after the packages are installed. Change-Id: I3868a0d2ffa5c71077df091918d9d46d83543992 --- manifests/pxe.pp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/manifests/pxe.pp b/manifests/pxe.pp index 81ec1fe1..04d32441 100644 --- a/manifests/pxe.pp +++ b/manifests/pxe.pp @@ -223,6 +223,8 @@ class ironic::pxe ( owner => 'root', group => 'root', content => template('ironic/dnsmasq_tftp_server.erb'), + require => Anchor['ironic::config::begin'], + before => Anchor['ironic::config::end'], } if $manage_service {