Issue #7580 has been updated by Trevor Hemsley.

I've done a little work on this tonight by adding some debug to 
/usr/lib/ruby/site_ruby/1.8/puppet/util/ldap/manager.rb. Just after the line 
that does "next if is[property] == should[property]" I have added

     Puppet.info "property #{property} is \"#{is[property]}\" should be 
\"#{should[property]}\""
     Puppet.info "is[property] is a #{is[property].class}"
     Puppet.info "should[property] is a #{should[property].class}"

and see that the reason it's dropping through here is because the two variables 
are of different types so the comparison fails.

info: property gid is "502" should be "502"
info: is[property] is a String
info: should[property] is a Fixnum

----------------------------------------
Bug #7580: puppet always try to change user's gid on LDAP with same value.
https://projects.puppetlabs.com/issues/7580#change-77443

Author: Satoru KURASHIKI
Status: Accepted
Priority: Normal
Assignee: 
Category: LDAP
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


I'm running puppet 2.6.7 on debian squeeze.

Using ldap user provider, puppet always show messages like:

    notice: /resouce/path/to/user/gid: gid changed 'XX' to 'XX'

It is no harm, but anyway needless behavior.
# similar to #643?



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to