On 08/03/10 19:04, Michael DeHaan wrote: > For those of you using both Func and Puppet (perhaps to kick off > Puppetruns, or otherwise to just run arbitrary commands 'now' like > shutdown, reboot, etc), Seth Vidal recently added some changes that > make Func be able to use Puppet certs as an option. > This should be a lot easier as then you don't have two certificate > management systems and have potentially differing copies of your > system inventory. > > See https://www.redhat.com/archives/func-list/2010-March/msg00009.html
That is useful. It means I can get rid of an additional service on all my nodes (certmaster). > On a related ideas-merging note, I'm currently working on teaching > puppetrun to understand shell globs (we had previously talked about > calling this 'pfunc', but there's no reason to not just enhance > puppetrun), and I'll probably > see if remote ralsh is feasible for it as well. > > So you'll be able to do: > > puppetrun -host "web*.example.org" > > And so forth. A few points on puppetrun/func, etc. 1. I would strongly recommend not building a whole load of additional functionality into puppetrun; leave it as a tool to run puppet on-demand on an arbitrary set of hosts from puppetmaster. 2. Add the additional functionality by adding a new command (you mention pfunc above). This could potentially be a port of func. 3. regex would be far better than shell globs. I find globs to be a real limitation in func.. R. -- 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.