summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc A. Paradise <marc.paradise@gmail.com>2019-04-08 12:23:00 -0400
committerMarc A. Paradise <marc.paradise@gmail.com>2019-04-24 13:25:58 -0400
commit44c3e411344a0c9139d01ef942f92f7d42a62a89 (patch)
tree8d95fde407451b04b0b650273d6275faffc359d1
parent85a837a4963c4f52e9413b546d4fdb3728acf51f (diff)
downloadchef-44c3e411344a0c9139d01ef942f92f7d42a62a89.tar.gz
Drop Chef 11 support from WindowsBootstrapContext
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
-rw-r--r--lib/chef/knife/core/windows_bootstrap_context.rb9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/chef/knife/core/windows_bootstrap_context.rb b/lib/chef/knife/core/windows_bootstrap_context.rb
index a533e61ca2..d00644f262 100644
--- a/lib/chef/knife/core/windows_bootstrap_context.rb
+++ b/lib/chef/knife/core/windows_bootstrap_context.rb
@@ -35,14 +35,7 @@ class Chef
@run_list = run_list
@chef_config = chef_config
@secret = secret
- # Compatibility with Chef 12 and Chef 11 versions
- begin
- # Pass along the secret parameter for Chef 12
- super(config, run_list, chef_config, secret)
- rescue ArgumentError
- # The Chef 11 base class only has parameters for initialize
- super(config, run_list, chef_config)
- end
+ super(config, run_list, chef_config, secret)
end
def validation_key