From 8c278b9bcf4f8c072cee676ce3e8cd378e7c29cf Mon Sep 17 00:00:00 2001 From: Lightning Date: Tue, 4 Jun 2024 12:49:44 +0200 Subject: [PATCH] Fix condition syntax --- manifests/init.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index b1c7ae46..f8d96968 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -126,10 +126,10 @@ } } - if $tagging =~ Undef { - $safe_names = $safe_name - } else { + if $tagging { $safe_names = flatten($safe_name, $tagging) + } else { + $safe_names = $safe_name } if $ensure == 'present' {