Perhaps use a regex, depending on your naming?

mco ping -F 'hostname=/dev[12]/

Or a compound filter.

mco ping -S 'hostname=dev1 or hostname=dev2'

If you're using something other than ping you might feed it a list of nodes via 
--nodes, but I'm not getting any responses via the node list right now. I'll 
dig more into it later.

There's mcollective-us...@googlegroups.com who will probably be more helpful 
than I am.

On Tue, Jul 15, 2014 at 11:11:59PM -0700, el...@lnmpy.com wrote:
>    when using puppet kick, i can specify more than one fqdns behind,
>    just like:
>    puppet kick client1.datayes.com client2.datayes.com
>    but when I want to use mco puppetd runonceĀ 
>    I can only use like
>    mco puppetd runonce -I client1.datayes.com
>    else if I use
>    mco puppetd runonce -I client1.datayes.com -I client2.datayes.com
>    it will not find the correct machines
>    how can I use mco?
> 
>    --
>    You received this message because you are subscribed to the Google Groups
>    "Puppet Users" group.
>    To unsubscribe from this group and stop receiving emails from it, send an
>    email to [1]puppet-users+unsubscr...@googlegroups.com.
>    To view this discussion on the web visit
>    
> [2]https://groups.google.com/d/msgid/puppet-users/0323dcba-a74e-4aa5-9131-00d26249bed5%40googlegroups.com.
>    For more options, visit [3]https://groups.google.com/d/optout.
> 
> References
> 
>    Visible links
>    1. mailto:puppet-users+unsubscr...@googlegroups.com
>    2. 
> https://groups.google.com/d/msgid/puppet-users/0323dcba-a74e-4aa5-9131-00d26249bed5%40googlegroups.com?utm_medium=email&utm_source=footer
>    3. https://groups.google.com/d/optout

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/20140716143238.GA15044%40iniquitous.heresiarch.ca.
For more options, visit https://groups.google.com/d/optout.

Reply via email to