Hi Everyone, I''m curious to see how many people are running puppetmasterd on OS X Server. I''m trying to cement a recipe for my puppetmasters (10.5 Servers), and I''m finding that many modules port over well but certain things fall short due to the Mac''s package providers. Visiting here --> http://docs.reductivelabs.com/references/stable/type.html#package It looks like appdmg, pkgdmg, and darwinport are the most viable providers for OS X. Appdmg and pkgdmg are great for .pkg or application-encapsulated disk images - but what are people doing when they need to install something from source - such as Nagios or NRPE? Are you using the darwinport provider and pulling NRPE from there? Maybe creating your own custom .pkg installer? Pulling an NRPE tarball from a puppetmaster and running a series of execs? Before I experiment, I''m interested to see how others have tackled that question. Thanks! -Gary -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Mon, Mar 15, 2010 at 1:12 PM, Gary Larizza Jr. <glarizza@me.com> wrote:> Hi Everyone, > I''m curious to see how many people are running puppetmasterd on OS X Server. > I''m trying to cement a recipe for my puppetmasters (10.5 Servers), and I''m > finding that many modules port over well but certain things fall short due > to the Mac''s package providers. > > Visiting here > --> http://docs.reductivelabs.com/references/stable/type.html#package It > looks like appdmg, pkgdmg, and darwinport are the most viable providers for > OS X. Appdmg and pkgdmg are great for .pkg or application-encapsulated disk > images - but what are people doing when they need to install something from > source - such as Nagios or NRPE? Are you using the darwinport provider and > pulling NRPE from there? Maybe creating your own custom .pkg installer? > Pulling an NRPE tarball from a puppetmaster and running a series of execs?We always create our own pkg installs. It''s well worth it. Have you look at Luggage Gary? It''s the open source project for our internal tool we use for Makefiles to build packages. http://luggage.apesseekingknowledge.net/> > Before I experiment, I''m interested to see how others have tackled that > question. Thanks! > -Gary > > -- > 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+unsubscribe@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-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Gary Larizza Jr.
2010-Mar-15 20:58 UTC
Re: [Puppet Users] Package Providers for OD X Server
On Mar 15, 2010, at 4:20 PM, Nigel Kersten wrote:> We always create our own pkg installs. It''s well worth it. > > Have you look at Luggage Gary? It''s the open source project for our > internal tool we use for Makefiles to build packages. > > http://luggage.apesseekingknowledge.net/I''ve definitely used it, but not for anything large (just packaging up some commonly used python scripts). I was hoping someone would say "or...." and have another easy method that I hadn''t thought of, but I don''t think that''s going to happen :) Fortunately with puppet, I only ever have to create these packages once. -Gary -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Mon, 15 Mar 2010, Gary Larizza Jr. wrote:> Visiting here --> > http://docs.reductivelabs.com/references/stable/type.html#package > It looks like appdmg, pkgdmg, and darwinport are the most viable > providers for OS X.I don''t use OS X, but it is one of the platforms supported by pkgsrc (see http://www.pkgsrc.org/), and some binary packages are available at ftp://ftp.netbsd.org/pub/pkgsrc/packages/Darwin/ if you don''t want to build your own. Puppet doesn''t have a "pkgsrc" package provider, but either of the "openbsd" or "freebsd" package providers will probably be close enough. --apb (Alan Barrett) -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
At work we have three puppetmasters running on OSX 10.5. I hate to say it, but it came down to custom packages. We''re using encap to deploy across 3 different OSs for all the site common bits. Other than the packaging the other bits of apple sauce to tackle were service management & bizzaro configs. We also have plenty of exec{}s to serveradmin, which I havent gotten back to. augeas should help tackle the misc configs. -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Nigel Kersten
2010-Mar-17 15:02 UTC
Re: [Puppet Users] Re: Package Providers for OD X Server
On Wed, Mar 17, 2010 at 3:01 AM, donavan <donavan@desinc.net> wrote:> At work we have three puppetmasters running on OSX 10.5. I hate to say > it, but it came down to custom packages. We''re using encap to deploy > across 3 different OSs for all the site common bits. > > Other than the packaging the other bits of apple sauce to tackle were > service management & bizzaro configs. We also have plenty of exec{}s > to serveradmin, which I havent gotten back to. augeas should help > tackle the misc configs.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. 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....> > -- > 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+unsubscribe@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-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
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.> 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? 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-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Nigel Kersten
2010-Mar-22 00:10 UTC
Re: [Puppet Users] Re: Package Providers for OD X Server
On Sun, Mar 21, 2010 at 3:15 PM, donavan <donavan@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-users@googlegroups.com. > To unsubscribe from this group, send email to puppet-users+unsubscribe@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-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
We are running puppetmasterd on a Mac OS X server (10.5) with passenger. We only manage clients, not servers. I''m actually working a paper I will deliver in May at the National Lab IT Summit on how we implemented puppet at Los Alamos. I''m working no on getting it all working with a 10.6 server. Life is soooo much easier now that I can run server in a VM. How did I ever live without snapshots? --- Thanks, Allan Marcus 505-667-5666 On Mar 15, 2010, at 2:12 PM, Gary Larizza Jr. wrote:> Hi Everyone, > I''m curious to see how many people are running puppetmasterd on OS X Server. I''m trying to cement a recipe for my puppetmasters (10.5 Servers), and I''m finding that many modules port over well but certain things fall short due to the Mac''s package providers. > > Visiting here --> http://docs.reductivelabs.com/references/stable/type.html#package It looks like appdmg, pkgdmg, and darwinport are the most viable providers for OS X. Appdmg and pkgdmg are great for .pkg or application-encapsulated disk images - but what are people doing when they need to install something from source - such as Nagios or NRPE? Are you using the darwinport provider and pulling NRPE from there? Maybe creating your own custom .pkg installer? Pulling an NRPE tarball from a puppetmaster and running a series of execs? > > Before I experiment, I''m interested to see how others have tackled that question. Thanks! > -Gary > > -- > 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+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.