Open rolandkool opened 7 years ago
It seems you can work around this issue by adding a [*]
to the query:
puppet query nodes My::Define[*]{param1=somevalue}
Just been hit by the same issue, and can confirm the same fix... Many thanks @rolandkool for posting...
Hi, We're trying to upgrade to latest puppetdb + puppetdbquery, however it seems that querying for 'defines with parameters' no longer works. It throws a parse error and I don't understand why. Can't find any examples in the documentation (only with classes, not defines) but it sure works with puppetdbquery 1.x. Example:
puppet query nodes My::Define{param1=somevalue}
parse error on value "{" (LBRACE)