[Puppet-dev] The way to handle node name in ldapsearch method of puppet/parser/interpreter.rb

Gosuke Miyashita gosukenator at gmail.com
Sun Apr 29 12:44:42 CDT 2007


Hi,

In ldapsearch method of puppet/parser/interpreter.rb,  node name is
truncated with the codes around line 458 like this:

        if node =~ /\./
            node = node.sub(/\..+/, '')
        end

But this behaviour is undesirable for me.Because my ldap tree structure
is not relevant to the domain structure like this.

dn: cn=www.mizzy.org. ou=hosts, o=myorganization
cn: www.mizzy.org

So I must include FQDN in the cn attribute and puppetmasterd cannot
search this entry.

I wish to have a option with puppetmasterd that stop this truncation.

LDAP application should not depends on the particular tree structure, I
think.

Thanks,
Gosuke Miyashita <gosukenator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.madstop.com/pipermail/puppet-dev/attachments/20070430/97e9520c/attachment.htm 


More information about the Puppet-dev mailing list