From 72958f0f8a6dcb36a43c8ace2994d4425e5a320d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Tarti=C3=A8re?= Date: Wed, 4 Oct 2023 11:04:03 -1000 Subject: [PATCH] Fix Puppet::HTTP::Client example with system store The evolution of that part of the code has seen multiple iterations, and the doc does not reflect the current usage so fix it. While here, also fix the wrong variable name typo. --- docs/http.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/http.md b/docs/http.md index f5c3afb4438..b5201b0454f 100644 --- a/docs/http.md +++ b/docs/http.md @@ -260,7 +260,7 @@ possible to additionally trust the system store when making HTTPS requests: ```ruby client = Puppet::HTTP::Client.new -response = http.get("https://artifactory.example.com/java.tar.gz", trust_system_store: true) +response = client.get("https://artifactory.example.com/java.tar.gz", options: { include_system_store: true }) response.read_body do |data| puts "Read #{data.bytes}" end