From 44d0a64d33b41b0d4fd4e6b512f7211b780642cf Mon Sep 17 00:00:00 2001 From: Petr Dittrich <155430339+petr-dittrich-ipf@users.noreply.github.com> Date: Thu, 12 Sep 2024 18:31:51 +0200 Subject: [PATCH] Use plus operator instead of stdlib call approved by https://forge.puppet.com/modules/puppetlabs/stdlib/reference#merge-2 Co-authored-by: Tim Meusel --- manifests/set.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/set.pp b/manifests/set.pp index 7c34ea1..0c8ced0 100644 --- a/manifests/set.pp +++ b/manifests/set.pp @@ -88,7 +88,7 @@ 'maxelem' => '65536', } - $actual_options = stdlib::merge($default_options, $options) + $actual_options = $default_options + $options if $ensure == 'present' { # assert "present" target