Class: Puppet::Type::Sshkey::Ensure
- Inherits:
-
Object
- Object
- Puppet::Type::Sshkey::Ensure
- Defined in:
- lib/puppet/provider/sshkey/augeas.rb
Overview
Patch sshkey’s ensure parameter to add hashed value
Instance Method Summary collapse
Instance Method Details
#insync?(is) ⇒ Boolean
29 30 31 32 33 |
# File 'lib/puppet/provider/sshkey/augeas.rb', line 29 def insync?(is) return true if should == :hashed && is == :present && provider.hashed? super end |