I got puppet working with the LDAP search. It had to do with
authentication to my LDAP server.

Thanks for your help.

NOW, I have a bigger question for the Puppet Community. Here is a
small explanation as to what I am trying to accomplish with puppet and
package distribution:

We are a K-12 school district with with multiple schools and multiple
configurations of Macs within those schools. We would like to store
package information in our LDAP directory and pass those variables to
puppet to load them onto client computers out in the schools. At any
given school, we will have a base image that the computers will be
loaded with with respect to their OS version and architecture. Then,
depending on the functionality of the computer, we will load other
packages on the various devices.

We would like to define groups that represent the packages that would
be installed on a given computer. Then we would define the computers
in LDAP and assign them to the appropriate group(s).

I have been able to define a device in LDAP, create a class based on
the 'puppetclass' in LDAP and install a package on the device. So, I
am about 1/4 of the way there. Now what I would like to do is to have
puppet follow a trail from the device itself to the device's group and
do the same thing, but have the puppetclass of the group return the
name of a package to puppet to install. Make Sense???

As a side but related question; what is the significance of the
'parentnode' to puppet?

Thanks,

-kurt

On Apr 3, 6:53 am, Nigel Kersten <nig...@google.com> wrote:
> On Thu, Apr 2, 2009 at 11:56 AM, engle <kurt.en...@gmail.com> wrote:
>
> > I am wanting to useLDAPclasses to determine what software packages
> > to install on various Mac. I have the puppet schema installed and have
> > populated a few puppetclass variables.
>
> > What I am looking for is some guidance on what the init.pp file would
> > look like basically 'CASE' on various puppetclass variables.
>
> > Basically, all my computers are in
> > OU=computers,cn=blah,dc=blah,dc=blah.
>
> > When 'puppetd' is run on the client, how does the puppetmaster server
> > know what to lookup inLDAP?
>
> > I am sorry if this is all somewhat elementary, I am somewhat new to
> >LDAPas well as puppet.
>
> Is yourLDAPserver an OS X Server Open Directory Server?
>
> --
> Nigel Kersten
> nig...@google.com
> System Administrator
> Google, Inc.
--~--~---------~--~----~------------~-------~--~----~
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