This message was deleted.
# puppet
s
This message was deleted.
b
did you try
=~
instead of
~=
b
oh, geez....no. Let me try that.
Illegal query expression. A '=~' expression cannot be used in a query
The documentation makes no mention of regex, either.
b
you can do something like
tag => foo
and then match on that tag
or match multiple titles
you can combine conditions with
and
also
$::hostname
is deprecated in multiple ways, I recommend
$trusted['hostname']
I think
b
I'm using the example from the 8.0.0 docs....which I think has an error in it.
resource collectors: The syntax section uses <| title == 'luke' |> but it doesn't seem to work unless I do <<| title == 'luke' |>>.
Perhaps I'm doing something wrong though.
b
both are valid, just different 🙂
the docs mention that
<<
is for exported resources
b
Perhaps my misuse of the syntax is my problem.
v
collectors doesn't support regex
using a tag is your best bet