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
Post a Comment