‘Contains’ conditional operator in PQL?

5 views
Skip to first unread message

Daniel Sung

unread,
Sep 27, 2019, 5:39:24 AM9/27/19
to Puppet Users
Hello,

I have a fact that is an array of strings and I would like to return all certnames that contain an element in that array. I’ve tried to use the in operator but that doesn’t work that way around and ~ does sort of work but it’ll match a substring of an element in the array. What is the best way to perform such a query?
Reply all
Reply to author
Forward
0 new messages