Merge pull request #1146 from piavlo/master

make chef provisioners to write human readable dna.json
This commit is contained in:
Mitchell Hashimoto 2012-09-27 14:01:47 -07:00
commit c1e99713bd
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ module VagrantPlugins
env[:ui].info I18n.t("vagrant.provisioners.chef.json") env[:ui].info I18n.t("vagrant.provisioners.chef.json")
# Get the JSON that we're going to expose to Chef # 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 # Create a temporary file to store the data so we
# can upload it # can upload it