[Puppet Users] Re: Join active directory domain on Mac OS X Leopard

2008-12-22 Thread Carl Caum
On Dec 22, 2008, at 11:59 AM, Nigel Kersten wrote: > > > On Mon, Dec 22, 2008 at 9:47 AM, Carl Caum > wrote: > > On Dec 22, 2008, at 11:42 AM, Nigel Kersten wrote: > >> >> >> On Mon, Dec 22, 2008 at 9:28 AM, Carl Caum >> wrote: >> Most plist management can be done with the defaults command.

[Puppet Users] Re: Join active directory domain on Mac OS X Leopard

2008-12-22 Thread Nigel Kersten
So for future reference, it turns out system profiler (GUI or command line) is somewhat broken in VMWare with OS X Server. It doesn't report any hardware info at all, and spews to stderr for SPHardwareDataType and SPMemoryDataType. There's a simple enough workaround that I'll test before patching

[Puppet Users] Re: Join active directory domain on Mac OS X Leopard

2008-12-22 Thread Kyle Crawford
For testing you could edit the facter ruby code to return hardcoded values instead of running system profiler. I think it just adds everything to a hash then prefixes it with 'sp' if I remember correctly. I've edited ours to return other data. Kyle On Dec 22, 2008, at 1:02 PM, Carl Caum wr

[Puppet Users] Re: Join active directory domain on Mac OS X Leopard

2008-12-22 Thread Carl Caum
Ok, yeah. That's what I was thinking. I can't test this on physical hardware since both our physical XServes are in production. I'll see if I can get a mac mini ordered. On Dec 22, 2008, at 11:57 AM, Crawford Kyle wrote: > Is the client running on Mac hardware and not in a VM? Seems like

[Puppet Users] Re: Join active directory domain on Mac OS X Leopard

2008-12-22 Thread Carl Caum
On Dec 22, 2008, at 11:42 AM, Nigel Kersten wrote: > > > On Mon, Dec 22, 2008 at 9:28 AM, Carl Caum > wrote: > Most plist management can be done with the defaults command. It > means we exec out everytime, but we could write a definition/plugin > around it. > > It also has the sometimes u

[Puppet Users] Re: Join active directory domain on Mac OS X Leopard

2008-12-22 Thread Nigel Kersten
On Mon, Dec 22, 2008 at 9:47 AM, Carl Caum wrote: > > On Dec 22, 2008, at 11:42 AM, Nigel Kersten wrote: > > > > On Mon, Dec 22, 2008 at 9:28 AM, Carl Caum wrote: > >> Most plist management can be done with the defaults command. It means we >> exec out everytime, but we could write a definition

[Puppet Users] Re: Join active directory domain on Mac OS X Leopard

2008-12-22 Thread Crawford Kyle
Is the client running on Mac hardware and not in a VM? Seems like system_profiler, which is used to generate default facts is failing. Maybe it doesn't work because of virtual hardware. On Dec 22, 2008, at 12:28 PM, Carl Caum wrote: > Most plist management can be done with the defaults com

[Puppet Users] Re: Join active directory domain on Mac OS X Leopard

2008-12-22 Thread Carl Caum
On Dec 22, 2008, at 11:42 AM, Nigel Kersten wrote: > > > On Mon, Dec 22, 2008 at 9:28 AM, Carl Caum > wrote: > Most plist management can be done with the defaults command. It > means we exec out everytime, but we could write a definition/plugin > around it. > > It also has the sometimes u

[Puppet Users] Re: Join active directory domain on Mac OS X Leopard

2008-12-22 Thread Nigel Kersten
On Mon, Dec 22, 2008 at 9:28 AM, Carl Caum wrote: > Most plist management can be done with the defaults command. It means we > exec out everytime, but we could write a definition/plugin around it. > It also has the sometimes undesirable side effect of converting all your xml1 property lists to

[Puppet Users] Re: Join active directory domain on Mac OS X Leopard

2008-12-22 Thread Carl Caum
Most plist management can be done with the defaults command. It means we exec out everytime, but we could write a definition/plugin around it. I'm having trouble getting puppet to run on OS X. I installed 0.24.7 on my OS X server VM using gems. After signing the certificate on the puppetm

[Puppet Users] Re: Join active directory domain on Mac OS X Leopard

2008-12-22 Thread Carl Caum
OK, just playing around with it so far, but I think this will work. I'm setting up a virtual machine to test it on right now. Tell me if you think this is a good approach: define authentication::ldap($server, $binddn, $bindpasswd, $adminuser = "", $adminpass = "", $domain = "", $workgroup

[Puppet Users] Re: Join active directory domain on Mac OS X Leopard

2008-12-19 Thread Crawford Kyle
On Dec 19, 2008, at 10:48 PM, Nigel Kersten wrote: > > > On Fri, Dec 19, 2008 at 7:23 PM, Crawford Kyle > wrote: > > On Dec 19, 2008, at 7:55 PM, Nigel Kersten wrote: >> >> On Fri, Dec 19, 2008 at 2:29 PM, Carl Caum >> wrote: >> >> Does anyone know how to go about joining Mac OS X Leopard t

[Puppet Users] Re: Join active directory domain on Mac OS X Leopard

2008-12-19 Thread Nigel Kersten
On Fri, Dec 19, 2008 at 7:23 PM, Crawford Kyle wrote: > > On Dec 19, 2008, at 7:55 PM, Nigel Kersten wrote: > > > On Fri, Dec 19, 2008 at 2:29 PM, Carl Caum wrote: > >> >> Does anyone know how to go about joining Mac OS X Leopard to an Active >> Directory domain with puppet? >> Primarily it need

[Puppet Users] Re: Join active directory domain on Mac OS X Leopard

2008-12-19 Thread Crawford Kyle
On Dec 19, 2008, at 7:55 PM, Nigel Kersten wrote: > > On Fri, Dec 19, 2008 at 2:29 PM, Carl Caum > wrote: > > Does anyone know how to go about joining Mac OS X Leopard to an Active > Directory domain with puppet? > Primarily it needs to be broken down in to doing LDAP authentication > with a fe

[Puppet Users] Re: Join active directory domain on Mac OS X Leopard

2008-12-19 Thread Nigel Kersten
On Fri, Dec 19, 2008 at 2:29 PM, Carl Caum wrote: > > Does anyone know how to go about joining Mac OS X Leopard to an Active > Directory domain with puppet? > Primarily it needs to be broken down in to doing LDAP authentication > with a few attribute mappings and using kerberos for the password >