On Friday, August 7, 2015 at 5:04:42 PM UTC-5, robert.davidson wrote: > > So there's no way to apply more than one tag to something at a time and > have it actually act as if they are single tags? > > Therefore, this exported resource: > @@module::hostentry{ $::fqdn: > tag => [$::fqdn, $::site], > } > > Has these tags: > module > hostentry > module::hostentry > [$::fqdn, $::site] > > Rather than what you might expect: > module > hostentry > module::hostentry > $::fqdn > $::site > > That's . . . uh . . . special.
I think it's probably more complicated than that, with ties to implementation details and [inconsistencies in] data model representation, but I cannot answer the question authoritatively. Upon further consideration, I agree that the observed behavior is inconsistent; I just don't know which should be considered correct. > I suppose I could get around this by only having one tag added using the > metaparameter, and include the other in the surrounding class using the tag > function, which would add them independently, but that's ludicrous. (Is > there any way to make puppet spit out the list of tags on a resource in > something like a notify{}? ) > > Given that I'm using an old version of puppet, would I be able to get > anywhere by filing a bug report on this behavior, or would it just get > bitbucketed? I don't see anything in the Puppet 4 docs that would indicate > it's behavior has changed, though. > I suggest you do check bug tracker, and report the issue if it's not already documented. I cannot speak to how a report against Puppet 3.6 would be received, but it might at least get someone to check against other Puppet versions, especially if you can present simple, standalone, easily tested code that reproduces it for you. Even if not, there's some value just in having it documented. John -- 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/039f5f04-0f6d-439b-9d4a-d7d69ed758d2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.