Skip to content

Commit

Permalink
Force "isnamevar" on name parameter to fix "Cannot alias Shellvar, re…
Browse files Browse the repository at this point in the history
…source already declared" issue
  • Loading branch information
P6wG7 committed Mar 27, 2024
1 parent c429b15 commit e201c66
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/puppet/type/shellvar.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ def sync

newparam(:name) do
desc 'The default namevar'
isnamevar
end

newparam(:variable) do
Expand Down

0 comments on commit e201c66

Please sign in to comment.