summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDan Bode <dan@bodepd.com>2010-06-18 11:07:10 -0500
committerDan Bode <dan@bodepd.com>2010-06-18 11:07:10 -0500
commit845c14ea3524201a7b6b075a60040c05a77f16d1 (patch)
tree00ddb55d3da661be666105cdfa9b7bdc8629f056 /lib
parentcdd46bb47a36e955e072097179ba44b1f79aea8e (diff)
parentfe6b50e0383af01023f010b26cd1cf2fa2f3c9c4 (diff)
Merge commit 'HEAD'; commit 'origin/master'
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/type/sudoers.rb3
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