Why will my recipe not save in a valid json format?Why??? Does not to_json work?This is what he file looks like
redis_queue = ["queue"]
redis_queue = node['monitor']['redis_queue']
redis_queue=redis_queue.to_json
file "/var/redis_queue_list.json" do
owner 'root'
group 'root'
mode '0666'
content "#{redis_queue}"
end
["queue"]My python script bombs when trying to read
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decodedthanks
Archive powered by MHonArc 2.6.16.