diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/puppet/type/sudoers.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/puppet/type/sudoers.rb b/lib/puppet/type/sudoers.rb index ac85265..2bcba92 100644 --- a/lib/puppet/type/sudoers.rb +++ b/lib/puppet/type/sudoers.rb @@ -75,9 +75,8 @@ Defaults@host x=y,one=1,two=2 # support absent and present (also purge -> true) ensurable - newparam(:name) do + newparam(:name, :namevar => true) do desc "Either the name of the alias, default, or arbitrary unique string for user specifications" - isnamevar munge do |value| #puts "params \n#{resource.original_parameters.to_yaml}\n" value |