Hey,i have been trying to fix this for almost 30 minutes now , thought i shall better ask, please looks at the code snippet below, I am not able to access this simple variable what am i doing wrong ? please advise.cookbook_file "/local_app/account-rest.properties" dosource "account-rest.properties"mode 0777owner "deploy"group "deploy"endruby_block "acc-deploy-host" doblock donode.default["acc-deploy"] = `cat /local_app/account-rest.properties | grep -i "#{host}" | cut -d":" -f2 `puts "value is #{node["acc-deploy"]}"endaction :createendnode[:acc_deploy].each do |x| ----- this does not workputs #xend
Archive powered by MHonArc 2.6.16.