Issue #3409 has been updated by Jesse Wolfe.

Status changed from Ready for Testing to Accepted


----------------------------------------
Bug #3409: environment  is not checked when nodes are in ldap
http://projects.puppetlabs.com/issues/3409

Author: charles caloone
Status: Accepted
Priority: Normal
Assigned to: 
Category: LDAP
Target version: queued
Affected version: 0.25.4
Keywords: a fix for ldap.rb
Branch: 


Hi,

I have my nodes in ldap. The problem is that the environment isn't checked.
The default ldapstring is (&(ObjectClass=puppetclient)(cn=%s)) and not 
something like (&(&(ObjectClass=puppetclient)(cn=%s))(environment=%e))
So, then a node have multiple environments defined in the puppetmasterd, it 
return all the classes of the differents environments.
Thus, it's not possible in puppet.conf to define the ldapsting in the 
environment section like the modulepath or the templatepath like this :
[puppetmasterd]
node_terminus = ldap
ldapserver = myldapserver
ldapbase = ou=fr
[env1]
modulepath=...
ldapstring=(&(&(ObjectClass=puppetclient)(cn=%s))(environment=env1))

Would you plan to correct this bug ?
Thanks


-- 
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