diff options
Diffstat (limited to 'lib/puppet/type/ssh_authorized_key.rb')
-rw-r--r-- | lib/puppet/type/ssh_authorized_key.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/type/ssh_authorized_key.rb b/lib/puppet/type/ssh_authorized_key.rb index d02170e4a..dc9193620 100644 --- a/lib/puppet/type/ssh_authorized_key.rb +++ b/lib/puppet/type/ssh_authorized_key.rb @@ -40,7 +40,7 @@ module Puppet defaultto :absent def should - if defined? @should and @should[0] != :absent + if defined?(@should) and @should[0] != :absent return super end @@ -61,7 +61,7 @@ module Puppet newproperty(:options, :array_matching => :all) do desc "Key options, see sshd(8) for possible values. Multiple values - should be specified as an array." + should be specified as an array." defaultto do :absent end |