Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ae0d372

Browse files
committedJan 21, 2021
Make Chef omnitruck endpoint configurable
Signed-off-by: Brian Dwyer <Brian.Dwyer@broadridge.com>
1 parent 46ae1a3 commit ae0d372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/mixlib/install/dist.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class Dist
77
# Binary repository base endpoint
88
PRODUCT_ENDPOINT = "https://packages.chef.io".freeze
99
# Omnitruck endpoint
10-
OMNITRUCK_ENDPOINT = "https://omnitruck.chef.io".freeze
10+
OMNITRUCK_ENDPOINT = (ENV['CHEF_OMNITRUCK_ENDPOINT'] || "https://omnitruck.chef.io").freeze
1111
# Default product name
1212
DEFAULT_PRODUCT = "chef".freeze
1313
# Default download page URL

0 commit comments

Comments
 (0)
Please sign in to comment.