On 2 April 2014 16:40, Ken Barber <k...@puppetlabs.com> wrote: > > I quite like the idea of allowing people to restrict collection based > > on environment. That requires a slight tweak to the puppetdb terminus > > code, but I don't think it'll be too bad. Erik is correct, though, > > that we can't really use "environment" as the search term there > > because there are some resources that use "environment" as a parameter > > name (like "exec"). :/ > > Does anyone have any suggestions for avoiding this conflict? > > As I mentioned, in puppetdbquery I've been thinking about using properties prefixed with a dot, so .environment for this and just environment for the exec parameter. Not sure how well this would work in Puppet itself though, but maybe something similar could be done.
But It would be good if both query methods used the same notation to make things simple. So I'm up for ideas regarding puppetdbquery as well. -- Erik Dalén -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-dev/CAAAzDLcK7C8czPd0u3t7tAXQvKGOOdByrWQhQ44XA7g30dHQew%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.