From c2eb523b0581bf38aba832ad197a3a3c38fd5811 Mon Sep 17 00:00:00 2001 From: Piavlo Date: Thu, 20 Sep 2012 19:58:37 +0300 Subject: [PATCH] create human readable dna.json --- plugins/provisioners/chef/provisioner/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/provisioners/chef/provisioner/base.rb b/plugins/provisioners/chef/provisioner/base.rb index 14e81235f..94f24e4c0 100644 --- a/plugins/provisioners/chef/provisioner/base.rb +++ b/plugins/provisioners/chef/provisioner/base.rb @@ -69,7 +69,7 @@ module VagrantPlugins env[:ui].info I18n.t("vagrant.provisioners.chef.json") # Get the JSON that we're going to expose to Chef - json = config.merged_json.to_json + json = JSON.pretty_generate(config.merged_json) # Create a temporary file to store the data so we # can upload it