Merge pull request #1146 from piavlo/master
make chef provisioners to write human readable dna.json
This commit is contained in:
commit
c1e99713bd
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue