Hello All,
I normally setup a virtual user resource, and then realize it via
collection. This setup works flawlessly for the most part when used with a
single tag, but I now have the need to specify multiple tags. This is what
I normally do:
@user { 'someuser':
ensure => present,
tag => 'tag123',
comment => 'some comment'
}
This is how I then realize the user:
User<|tag == "default" or tag == "${application}" |> (I have a variable
definition for 'application' via ext node classifier [foreman])
Can anyone point me in the right direction, as to how would I declare
multiple tags? i.e, User<|tag == "default" or tag == "(if defined) tag123,
tagABC, any other tag" |>... I hope I'm not confusing anyone :)
Thanks,
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.