hi,guys In my ldap server have two directory to save ldap nodes. ou=Hosts,dc=idc1,dc=example,dc=com and ou=Hosts,dc=idc2,dc=example,dc=com. but the in the puppet.conf can only set one ldapbase. so,when the ldapbase set to ou=Hosts,dc=idc2,dc=example,dc=com. then a host host1.idc1.example.com connect to the puppetmaster,may be can''t get the correct configure infermation. I had not test this yet. but I think may be will be error. when a hostname it''s to long,how to design the ldap structure will be good? eg. web1.idc1.geo1.example.com web2.idc2.geo2.example.com mail1.idc2.geo2.example.com Huang Mingyou --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Apr 14, 2008, at 12:21 AM, huangmingyou wrote:> > hi,guys > In my ldap server have two directory to save ldap nodes. > ou=Hosts,dc=idc1,dc=example,dc=com and > ou=Hosts,dc=idc2,dc=example,dc=com. > > but the in the puppet.conf can only set one ldapbase. so,when the > ldapbase set to ou=Hosts,dc=idc2,dc=example,dc=com. then a host > host1.idc1.example.com connect to the puppetmaster,may be can''t get > the correct configure infermation. I had not test this yet. but I > think may be will be error. > > when a hostname it''s to long,how to design the ldap structure will be > good? eg. > web1.idc1.geo1.example.com > web2.idc2.geo2.example.com > mail1.idc2.geo2.example.comThere''s no provision for this right now. You''d need to either have code that converted host names into DNs with a top-level base, or you''d need to do a recursive search from the very top. I''d accept patches for either. -- Nonreciprocal Laws of Expectations: Negative expectations yield negative results. Positive expectations yield negative results. --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
I''ll waiting for the patch,will be in the next version ? On Apr 14, 10:18 pm, Luke Kanies <l...@madstop.com> wrote:> On Apr 14, 2008, at 12:21 AM, huangmingyou wrote: > > > > > > > hi,guys > > In my ldap server have two directory to save ldap nodes. > > ou=Hosts,dc=idc1,dc=example,dc=com and > > ou=Hosts,dc=idc2,dc=example,dc=com. > > > but the in the puppet.conf can only set one ldapbase. so,when the > > ldapbase set to ou=Hosts,dc=idc2,dc=example,dc=com. then a host > > host1.idc1.example.com connect to the puppetmaster,may be can''t get > > the correct configure infermation. I had not test this yet. but I > > think may be will be error. > > > when a hostname it''s to long,how to design the ldap structure will be > > good? eg. > > web1.idc1.geo1.example.com > > web2.idc2.geo2.example.com > > mail1.idc2.geo2.example.com > > There''s no provision for this right now. You''d need to either have > code that converted host names into DNs with a top-level base, or > you''d need to do a recursive search from the very top. > > I''d accept patches for either. > > -- > Nonreciprocal Laws of Expectations: > Negative expectations yield negative results. Positive expectations > yield negative results. > --------------------------------------------------------------------- > Luke Kanies |http://reductivelabs.com|http://madstop.com--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Apr 23, 2008, at 12:40 AM, huangmingyou wrote:> > I''ll waiting for the patch,will be in the next version ?Not unless someone who cares for it (e.g., you) writes it and the necessary tests. -- Writing is not necessarily something to be ashamed of, but do it in private and wash your hands afterwards. --Robert Heinlein --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---