From e201c6690cf9839e24d5a1d188069b446a3eee7d Mon Sep 17 00:00:00 2001 From: P6wG7 <31205529+P6wG7@users.noreply.github.com> Date: Wed, 27 Mar 2024 11:26:21 +0100 Subject: [PATCH] Force "isnamevar" on name parameter to fix "Cannot alias Shellvar, resource already declared" issue --- lib/puppet/type/shellvar.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/puppet/type/shellvar.rb b/lib/puppet/type/shellvar.rb index 70c99c6..97378ae 100644 --- a/lib/puppet/type/shellvar.rb +++ b/lib/puppet/type/shellvar.rb @@ -55,6 +55,7 @@ def sync newparam(:name) do desc 'The default namevar' + isnamevar end newparam(:variable) do