I’m having a hard time finding actual answers to my questions about this,
so now it’s list time. I’m trying to use the Chef server search API to
generate parts of my Sensu configuration and am running into problems
trying to deep match attributes. It seems that the flattened attributes
aren’t accessible with a recipe… or I’m crazy.
- This works: knife search node ‘alti_sensu_client:check_http’
- This recipe snippet does not: search(:node,
- This recipe snippet does: search(:node, ‘check_http:*’)
While the last item works, it’s not a very strict match and I’d really like
it to be. Should the second item work or not?