test kitchen - Searching with chef-zero non working as with chefserver -


i have problem when using search inside chef recipe:

  • when cookbook runs using chefserver, next search successfull: search(:node, %q{nginx_vhosts_#{name}:*})
  • when cookbook runs using chef-zero (with kitchen) not successful, not find nothing.

i have configured correctly nodes_path in .kitchen.yml file. find workaround using search like: search(:node, %q{nginx:vhosts}) , adding after logic match purposes.

so question is: why syntax search(:node, param1_param2_#{var}:*) not working?


Comments

Popular posts from this blog

android - Pass an Serializable object in AIDL -

How to provide Authorization & Authentication using Asp.net, C#? -

How to use Authorization & Authentication in Asp.net, C#? -