On Tue, Mar 9, 2010 at 5:28 AM, Robin Bowes <robin-li...@robinbowes.com> wrote:
> 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.

Either way -- if I do decide to go down those routes, that
functionality will be off by default
and optional.

I don't particularly like the idea of duplicating lots of functionality between
tools/commands.   That tends to create more to maintain in the long run.


>
> 3. regex would be far better than shell globs. I find globs to be a real
> limitation in func..

I tend to like this idea, yet all of the escaping becomes annoying for simple
cases.   It could be an option that could be added later.

>
> 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.
>
>

-- 
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