summaryrefslogtreecommitdiff
path: root/lib/chef/knife/bootstrap.rb
diff options
context:
space:
mode:
authorTensibai <tensibai@iabis.net>2019-05-02 22:03:04 +0000
committerTensibai <tensibai@iabis.net>2019-05-02 22:03:04 +0000
commit61b913af34f1b769eaf2281145beed3f591c2f7e (patch)
tree727386e4e3d5f797b9af619be34e4395db44c23b /lib/chef/knife/bootstrap.rb
parentbb3fb62a356e75b5582d1e03d5343be82de34b54 (diff)
downloadchef-61b913af34f1b769eaf2281145beed3f591c2f7e.tar.gz
Reload the changes, adapt a bit
Signed-off-by: Tensibai <tensibai@iabis.net>
Diffstat (limited to 'lib/chef/knife/bootstrap.rb')
-rw-r--r--lib/chef/knife/bootstrap.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/knife/bootstrap.rb b/lib/chef/knife/bootstrap.rb
index e879c2e822..43f6e9a023 100644
--- a/lib/chef/knife/bootstrap.rb
+++ b/lib/chef/knife/bootstrap.rb
@@ -18,6 +18,7 @@
require "chef/knife"
require "chef/knife/data_bag_secret_options"
+require "chef/dist"
class Chef
class Knife
@@ -286,7 +287,7 @@ class Chef
option :msi_url, # Windows target only
short: "-m URL",
long: "--msi-url URL",
- description: "Location of the Chef Client MSI. The default templates will prefer to download from this location. The MSI will be downloaded from chef.io if not provided (windows).",
+ description: "Location of the #{Chef::Dist::PRODUCT} MSI. The default templates will prefer to download from this location. The MSI will be downloaded from chef.io if not provided (windows).",
default: ""
# bootstrap override: Do this instead of our own setup.sh from omnitruck. Causes bootstrap_url to be ignored.