From 2e5fbdf6844116fb43e115e3d3c30b867f22bea2 Mon Sep 17 00:00:00 2001 From: Sander van Harmelen Date: Tue, 5 May 2020 22:23:51 +0200 Subject: [PATCH] Remove (now) incorrect example This example doesn't really show how these values should be used. The default of retry_on_exit_code is now already when most people want, so this line is not needed in most cases. I think the docs describe the new options just fine, so lets leave this out... --- website/docs/provisioners/chef.html.markdown | 2 -- 1 file changed, 2 deletions(-) diff --git a/website/docs/provisioners/chef.html.markdown b/website/docs/provisioners/chef.html.markdown index fcb330472b..8056f297f8 100644 --- a/website/docs/provisioners/chef.html.markdown +++ b/website/docs/provisioners/chef.html.markdown @@ -60,8 +60,6 @@ resource "aws_instance" "web" { version = "15.10.13" # If you have a self signed cert on your chef server change this to :verify_none ssl_verify_mode = ":verify_peer" - # Gracefully handle Chef upgrades, reboots, etc. - retry_on_exit_code = [35, 213] } } ```