Skip to content

Commit

Permalink
Merge pull request #61 from P6wG7/cannot-alias-shellvar
Browse files Browse the repository at this point in the history
Force "isnamevar" on name parameter
  • Loading branch information
bastelfreak authored Mar 29, 2024
2 parents c429b15 + 63bcf2e commit 4be5670
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ Default value: `auto`

##### <a name="-shellvar--name"></a>`name`

namevar

The default namevar

##### <a name="-shellvar--provider"></a>`provider`
Expand Down
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 4be5670

Please sign in to comment.