If you have puppetdb you can query it through curl or puppetdbquery https://docs.puppetlabs.com/puppetdb/latest/api/query/tutorial.html
https://github.com/dalen/puppet-puppetdbquery El 07/08/2014 14:45, "Maksim Podlesniy" <cryptspi...@gmail.com> escribió: > 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 > <https://groups.google.com/d/msgid/puppet-users/8ae479f4-c700-490f-83d3-4e6ec1df292a%40googlegroups.com?utm_medium=email&utm_source=footer> > . > 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/CAF_B3deSpv-0SckogMH_dArF12V6RxbLvpXqMKeHm9YO_OwFaw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.