From cd56b79b049b63521e30973a86897e118ac599b7 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Thu, 10 Sep 2020 21:02:26 +0900 Subject: [PATCH] Fix duplicated declaration when the deprecated parameter is used This patch fixes duplicaed declaration of the same parameter when nova::compute::ironic::max_concurrent_builds is used. Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Nova_config[DEFAULT/max_concurrent_builds] is already declared at ... Change-Id: I8ac22df2bf0b6ea56c24711ca09082e6b7e1a7b4 --- manifests/compute/ironic.pp | 3 --- 1 file changed, 3 deletions(-) diff --git a/manifests/compute/ironic.pp b/manifests/compute/ironic.pp index 5b7393c8b..88497fa72 100644 --- a/manifests/compute/ironic.pp +++ b/manifests/compute/ironic.pp @@ -29,9 +29,6 @@ class nova::compute::ironic ( if $max_concurrent_builds != undef { warning('The nova::compute::ironic::max_concurrent_builds parameter is deprecated \ and will be removed in a future release. Use nova::compute::max_concurrent_builds instead.') - nova_config { - 'DEFAULT/max_concurrent_builds': value => $max_concurrent_builds; - } } }