John

I believe your puppet version is too old.

Looks like the LDAP feature is not defined yet in the version you have.

Andrew


On Wed, Feb 4, 2009 at 7:58 AM, s...@imperial.ac.uk <s...@imperial.ac.uk>wrote:

>
>
>
>
>
>
>
>
>
>
> On Jan 30, 9:06 pm, Larry Ludwig <larry...@gmail.com> wrote:
> > On Jan 30, 10:33 am, "s...@imperial.ac.uk" <s...@imperial.ac.uk>
> > wrote:
> >
> > > Hi appreciate your help.
> > > I am new to puppet. I have taken over a system.
> >
> > > Running Debian v4.0
> > > Puppetmaster & puppet v0.20.1-1
> >
> > > I keep getting the following error from puppetmaster
> >
> > > Could not connect to LDAP: Can't contact LDAP server.
> >
> > > Please advise me how to analyse and work through this problem.
> >
> > > Thanks
> >
> > > John
> >
> > do you have ruby's LDAP gem installed?
> >
> > Did you follow the Wiki?
> >
> > http://reductivelabs.com/trac/puppet/wiki/LDAPNodes
> >
> > From the puppetmaster does ldapsearch work?  Make sure it works at
> > that level first before in the puppetmaster.
>
>
> Thanks.
> I followed the wiki notes.
>
> Pre-Puppet Ruby/LDAP Validation
>
> ruby -rldap -e 'puts :installed'
> installed
>
> then
> ruby -rpuppet -e 'p Puppet.features.ldap?'
> -e:1: undefined method 'ldap?' for #<puppet::Features:0xb7b8b480
> @path="puppet/feature"> (NoMethodError)
>
> So the system fails the LDAP validation. How should I proceed?
>
> thanks
>
> John
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to