forgot the syntax for recipe searching was different

This commit is contained in:
galstrom21
2012-05-18 16:05:18 -05:00
parent 360d7e908a
commit eebb54e2fa

View File

@@ -86,7 +86,7 @@ else
end
# Lookup nova db information
nova = search(:node, "recipes:nova-setup AND chef_environment:#{node.chef_environment}")
nova = search(:node, "recipes:nova\\:\\:nova-setup AND chef_environment:#{node.chef_environment}")
if nova.length > 0
nova_db_password = nova[0]['nova']['db']['password']
else