diff options
| author | Francois Deppierraz <francois.deppierraz@camptocamp.com> | 2009-05-08 19:52:04 +0200 |
|---|---|---|
| committer | James Turnbull <james@lovedthanlost.net> | 2009-05-15 09:54:34 +1000 |
| commit | 172422fc0422e2646c4cc3afb7955876651cbf3e (patch) | |
| tree | 614179023a72781a8511b44c22481828ebc3ca3e /lib | |
| parent | f945b66aee03c0c06248f3809773f444a25ff00f (diff) | |
| download | puppet-172422fc0422e2646c4cc3afb7955876651cbf3e.tar.gz puppet-172422fc0422e2646c4cc3afb7955876651cbf3e.tar.xz puppet-172422fc0422e2646c4cc3afb7955876651cbf3e.zip | |
Fix bug #2124 - ssh_authorized_key always changes target if target is not defined
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/puppet/type/ssh_authorized_key.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/puppet/type/ssh_authorized_key.rb b/lib/puppet/type/ssh_authorized_key.rb index 33ed1d62b..a16746ac4 100644 --- a/lib/puppet/type/ssh_authorized_key.rb +++ b/lib/puppet/type/ssh_authorized_key.rb @@ -48,6 +48,10 @@ module Puppet return nil end end + + def insync?(is) + is == should + end end newproperty(:options, :array_matching => :all) do |
