[Puppet Users] Puppetdb query. Search two classes

2014-08-07 Thread Maksim Podlesniy
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, s

Re: [Puppet Users] Puppetdb query. Search two classes

2014-08-08 Thread Maksim Podlesniy
ith 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 Pod

[Puppet Users] Weird behavior of puppetdb records

2017-01-13 Thread Maksim Podlesniy
We have an issue with virtual resources. Usual during puppet applying inside puppetdb appears additional node record which leads to puppet duplicate error Error: Could not retrieve catalog from remote server: Error 400 on SERVER: A duplicate resource was found while collecting exported resource