summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Chamberland <chamberland.marc@gmail.com>2020-04-03 20:54:20 -0400
committerMarc Chamberland <chamberland.marc@gmail.com>2020-04-03 20:54:20 -0400
commite563a31272616e82e4488c279a543b1f4e84516e (patch)
treef77c6a3ea4adf3141d6894b77f26061d01440782
parentb38fd9279841c61e09926a85f9ba90b3313cdd0c (diff)
downloadchef-e563a31272616e82e4488c279a543b1f4e84516e.tar.gz
revert dist constant to hardcoded in default_bootstrap_template
It actually broke third party distros, template name is internal to chef and shouldn't change based on distro. Signed-off-by: Marc Chamberland <chamberland.marc@gmail.com>
-rw-r--r--lib/chef/knife/bootstrap.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/bootstrap.rb b/lib/chef/knife/bootstrap.rb
index 3279f7970a..3fe2ec5d71 100644
--- a/lib/chef/knife/bootstrap.rb
+++ b/lib/chef/knife/bootstrap.rb
@@ -467,7 +467,7 @@ class Chef
# @return [String] Default bootstrap template
def default_bootstrap_template
if connection.windows?
- "windows-#{Chef::Dist::CLIENT}-msi"
+ "windows-chef-client-msi"
else
"chef-full"
end