22166490 ldap provider always finds authentication_method out of sync
authorPatrick Einheber <patrick.einheber@oracle.com>
Mon, 09 Nov 2015 09:47:32 -0800
changeset 5073 8aa7f7f76c01
parent 5072 3f6521b6cb16
child 5074 24b9f318a3b0
22166490 ldap provider always finds authentication_method out of sync
components/ruby/puppet/files/solaris/lib/puppet/type/ldap.rb
--- a/components/ruby/puppet/files/solaris/lib/puppet/type/ldap.rb	Fri Nov 06 13:44:16 2015 -0800
+++ b/components/ruby/puppet/files/solaris/lib/puppet/type/ldap.rb	Mon Nov 09 09:47:32 2015 -0800
@@ -172,6 +172,8 @@
         
         def insync?(is)
             is = [] if is == :absent or is.nil?
+            is.collect! {|x| x.to_s}
+            self.should.collect! {|x| x.to_s}
             is.sort == self.should.sort
         end