summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2020-12-31 12:13:53 -0800
committerGitHub <noreply@github.com>2020-12-31 12:13:53 -0800
commitc6f84c7b50fea4fad2f16746f61314f89238aa60 (patch)
treec08b0eac2d0ac01cca70181a2d69b405a017a5b3
parent4a4060fac9894aa82ee3558d27fff1329a78b086 (diff)
downloadchef-c6f84c7b50fea4fad2f16746f61314f89238aa60.tar.gz
Update adding_new_platforms_to_infra.md
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--docs/dev/how_to/adding_new_platforms_to_infra.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/dev/how_to/adding_new_platforms_to_infra.md b/docs/dev/how_to/adding_new_platforms_to_infra.md
index ada6b9ec9e..99a2544710 100644
--- a/docs/dev/how_to/adding_new_platforms_to_infra.md
+++ b/docs/dev/how_to/adding_new_platforms_to_infra.md
@@ -54,4 +54,4 @@ Bento boxes are used by the kitchen-vagrant driver by customers for cookbook tes
### Fauxhai Dumps
-COMING SOON!
+Fauxhai is used by ChefSpec for unit testing of cookbooks and we also use it directly in `chef/chef` to test the helpers in the `chef-utils` gem. When we add support for new platforms we need to make sure we update the Fauxhai dumps as well. The [fauxhai repository](https://github.com/chefspec/fauxhai/) contains the actual dump files, and the [fauxhai_generator](https://github.com/chefspec/fauxhai_generator) repository contains a `kitchen.yml` file with a custom provisioner for gathering dump data. These spins up hosts in AWS and gathers their dumps. Keep in mind this only works on Linux hosts and sometimes it requires tracking down custom AMIs. You can see how messy this gets by looking at the values in the `kitchen.yml`. Running this driver using `bundle exec kitchen test FOO` will dump a file locally. You'll then need to use a json sorting tool to sort this JSON. Once it's sorted stick it in the appropriate directory in the Fauxhai project, run `rake documentation:update_platforms` to generate the `PLATFORMS.md` file and commit the change.