summaryrefslogtreecommitdiff
path: root/lib/puppet/type
diff options
context:
space:
mode:
authorDan Bode <dan@bodepd.com>2010-03-16 06:47:41 -0500
committerDan Bode <dan@bodepd.com>2010-03-16 06:47:41 -0500
commitbfbb6ecf855baf308ad23657c6001daccc3f98d8 (patch)
tree5143ce045eb2ff7666c9711714cf4ff725009bf3 /lib/puppet/type
parent4acbdb2b3c91d9e7aa1c1c6e3c9c66b0f788088e (diff)
last commits before ALPHA release
Diffstat (limited to 'lib/puppet/type')
-rw-r--r--lib/puppet/type/sudoers.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/puppet/type/sudoers.rb b/lib/puppet/type/sudoers.rb
index 64d66e0..dcb4cfe 100644
--- a/lib/puppet/type/sudoers.rb
+++ b/lib/puppet/type/sudoers.rb
@@ -140,6 +140,7 @@ Defaults@host x=y,one=1,two=2
self[:type] = 'alias'
checkprops(SUDOERS_DEFAULT, SUDOERS_SPEC)
elsif self[:parameters]
+ self[:type] = 'default'
checkprops(SUDOERS_ALIAS, SUDOERS_SPEC)
elsif self[:users]
self[:type] = 'user_spec'