On Sun, Mar 21, 2010 at 3:15 PM, donavan <dona...@desinc.net> wrote:
> Sorry for the late reply. I hadn't noticed your response.
>
>> How are you running the puppetmasters Donovan? Passenger?
>>
>> I'd like us to have a nice simple install for people wanting to run
>> the server on OS X. I have a script around somewhere that will create
>> a Passenger pkg from the source tarball, and that seemed to work fine
>> with the built in Apache.
>
> It's a bit fuzzy, but I recall some annoying issue with using
> passenger. We're currently using apache2 as a proxy to mongrel. We
> haven't had any issues with mongrel that I can recall.

Huh. I haven't tried on 10.6 at all, but I absolutely had puppetmaster
working seamlessly with a pkg install of Passenger on top of the OS X
Server apache install.

>
>> I'm not doing much OS X Server these days, but I wonder if there's any
>> hope of getting a decent serveradmin type together for OS X Server
>> management....
>
> Certainly seems possible. A quick poke around and we should be able to
> drive servermgrd locally. /usr/share/servermgrd/cgi-bin/ looks like
> it's all symlinks back to /usr/sbin/serveradmin. An xml/plist lib and
> popen() should do the trick.
>
> Do know of an existing type that supports the same type of
> functionality? At first glance the closest thing looks like augeas.
> The serveradmin services look like augeas lenses to me. In which case
> serveradmin may just be a provider for the augeas type?

That would be another option.

If you look at the launchd service provider, you'll see it's a mixture
of execing out to launchctl and direct plist manipulation, and my gut
feeling is that a serveradmin type would end being rather similar.

As always with Apple, the devil will be in the details. I can't
remember how well behaved serveradmin is these days with properly
respecting exit codes and directing output appropriately to
stdout/stderr, but I do remember it being rather hellish to script
when it first appeared, but a quick scan of my Apple bug queue shows a
whole raft of serveradmin issues marked as resolved.

Perhaps the other way around is desirable? Whipping up a serveradmin
service type for Puppetmaster ? They're not that difficult to reverse
engineer, and Apple will even sometimes give you the SDK if you ask
nicely....

>
> Anyways, I know we'd certainly use a serveradmin provider/type. Right
> now it's a lot of exec trickery and munging of plists & configs. Off
> the top of my head we're using that model to drive OSX smb & OD
> servers.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To post to this group, send email to puppet-us...@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.
>
>



-- 
nigel

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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