2011/1/3 CraftyTech <hmmed...@gmail.com>

> 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])
>
> OKEY...Thanks
> 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 puppet-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscr...@googlegroups.com<puppet-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to