On Tuesday, April 1, 2014 11:09:23 AM UTC-5, Ken Barber wrote: > > >> Isn't that the opposite of what you've been asking for as the default, > >> do you mean "environment = $::environment" here or have you changed > >> your mind about the default? > >> > > > > I think the default when you leave out a parameter from a query should > be to > > not match on that parameter, like it is today. And that environment > > shouldn't be different than any other parameter you can match on in this > > regard. > > Are there any others that would say this is their preferred default, if > yes why? > >
Yes, that's what I was suggesting in my earlier comments. That, and to achieve restriction by environment only via a selection predicate; i.e. no way to configure a different default. That should provide a smooth transition because the behavior of existing collections relative to multiple environments will not change. Also, it fits my mental model better to limit results by adding filters, as opposed to expanding results by removing filters. And it is not clear to me in general that limiting searches by environment is necessarily the behavior that is expected or most desired. I couldn't have told you what the previous behavior was in that regard, but now that it's been described, I don't find it at all surprising. John -- 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/be343781-4ab6-469a-9c34-f662d2abe331%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.