On Mon, Apr 7, 2014 at 8:04 AM, Ken Barber <k...@puppetlabs.com> wrote:
> Hmm. Lots of things are possible, just need to avoid collision with > the parameter naming. > > Myresource <<| .environment == $$::environment |>> # > dalen's suggestion > Myresource <<| _environment == $$::environment |>> # > alternate to dalen's suggestion > Myresource <<| catalog.environment == $$::environment |>> # implies > that 'catalog' is an object with subparameters > Myresource <<| Environment == $$::environment |>> # ye old > capitalization like other parts of puppet > Myresource <<| same_environment? |>> # > short-hand for matching the same environment > Could we use the current $setting::environment? Also does agent v.s. master environment throw a wrench in this discussion? Nan -- 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/CACqVBqBUR9SSjRN8ryf9WGb1uR5GSSeXKaOEFis%2BoOfMwji2ug%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.