diff options
Diffstat (limited to 'lib/puppet/type/sudoers.rb')
-rw-r--r-- | lib/puppet/type/sudoers.rb | 1 |
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' |