On Thu, 2010-12-16 at 10:08 -0500, Bryan Horstmann-Allen wrote: > +------------------------------------------------------------------------------ > | On 2010-12-16 14:00:17, Brice Figureau wrote: > | > | I was thinking about abusing the process name to display what the > | process is currently doing ala: > | > | puppet master: compiling node.masterzen.fr since 0.2s > | > | or > | > | puppet master: serving metadata for /modules/mysql/mysql.cnf > | > | or > | > | puppet agent: exec /usr/bin/apt-get update > > I think this is a really good idea (especially the SIG toggle), but it may not > be exactly portable. It won't work on Solaris, for instance, and you'd > probably > have to do a little more work to get it working on the BSDs. > > That said, maybe you don't care. :-)
It's not that I don't care, but I'm not sure the way I envisioned (ie setting $0 to the intrumentation string) would work under Solaris or not (but I guess not). I believe most BSD won't support this either. Then the only remaining solution is to use our own ruby native extension :( which I'm not sure I want to do. -- Brice Figureau Follow the latest Puppet Community evolutions on www.planetpuppet.org! -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
