summaryrefslogtreecommitdiff
path: root/lib/chef/knife/bootstrap.rb
diff options
context:
space:
mode:
authorMarc A. Paradise <marc.paradise@gmail.com>2019-05-03 17:28:02 -0400
committerMarc A. Paradise <marc.paradise@gmail.com>2019-05-03 18:05:49 -0400
commita1c438aa2b15b310ecccd062ae714026f39d3f12 (patch)
tree8c1e21b43837d3f5dc3bfbdacc66f3caea177180 /lib/chef/knife/bootstrap.rb
parent4dde88da4d24148987ca80b3dd7a5f802516f68d (diff)
downloadchef-a1c438aa2b15b310ecccd062ae714026f39d3f12.tar.gz
Pass channel directly into the script/url to determine Chef Infra downloadmp/bootstrap/restore-prerelease
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
Diffstat (limited to 'lib/chef/knife/bootstrap.rb')
-rw-r--r--lib/chef/knife/bootstrap.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/knife/bootstrap.rb b/lib/chef/knife/bootstrap.rb
index 92f6fbcec3..5d76736e06 100644
--- a/lib/chef/knife/bootstrap.rb
+++ b/lib/chef/knife/bootstrap.rb
@@ -159,9 +159,9 @@ class Chef
option :channel,
long: "--channel CHANNEL",
- description: "Install from the given channel. Valid values are 'current' and 'stable'. Default is 'stable'",
+ description: "Install from the given channel. Valid values are 'stable, 'current', and 'unstable'. Default is 'stable'",
default: "stable",
- in: %w{stable current}
+ in: %w{stable current unstable}
# client.rb content via chef-full/bootstrap_context
option :bootstrap_proxy,