diff options
author | Marc Chamberland <chamberland.marc@gmail.com> | 2020-04-03 20:54:20 -0400 |
---|---|---|
committer | Marc Chamberland <chamberland.marc@gmail.com> | 2020-04-03 20:54:20 -0400 |
commit | e563a31272616e82e4488c279a543b1f4e84516e (patch) | |
tree | f77c6a3ea4adf3141d6894b77f26061d01440782 /lib/chef/knife | |
parent | b38fd9279841c61e09926a85f9ba90b3313cdd0c (diff) | |
download | chef-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>
Diffstat (limited to 'lib/chef/knife')
-rw-r--r-- | lib/chef/knife/bootstrap.rb | 2 |
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 |