I might be thinking about this the wrong way, but I think the API can
only do so much on the server side to achieve this. In particular I
want to do a distinct aggregation but we don't support that.

Fortunately, this is achievable on the command line with a tool like
JGrep: http://jgrep.org/#howto

Here is how I would do it:

https://gist.github.com/kbarber/6840f5b1a74d985d8167

Any entry that has a 2 next to it, meets the criteria basically.

ken.

On Thu, Aug 7, 2014 at 10:02 AM, Maksim Podlesniy <cryptspi...@gmail.com> wrote:
> How I may find all nodes with two specified classes? Example: find all nodes
> with class Nginx and Php
>
> Sorry for my bad english.
>
> --
> 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/8ae479f4-c700-490f-83d3-4e6ec1df292a%40googlegroups.com.
> For more options, visit 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/CAE4bNT%3DDwVDBUyC7VT8XmyQqoqJ-T-gbZzfY-MqaERCGP9ZVRA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to