diff options
author | tyler-ball <tyleraball@gmail.com> | 2014-09-17 14:54:35 -0700 |
---|---|---|
committer | tyler-ball <tyleraball@gmail.com> | 2014-09-29 08:31:08 -0700 |
commit | 75a90633b5015f91425644670d839377837fb8d3 (patch) | |
tree | db329123e8080b0e148ead474eb22713488e8a71 /lib/chef/knife/bootstrap.rb | |
parent | 9d431178e1c9d98c6caed74366e9b9abd9d2404c (diff) | |
download | chef-75a90633b5015f91425644670d839377837fb8d3.tar.gz |
Fixing bad method definition
Diffstat (limited to 'lib/chef/knife/bootstrap.rb')
-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 6d628f0224..a992cf5779 100644 --- a/lib/chef/knife/bootstrap.rb +++ b/lib/chef/knife/bootstrap.rb @@ -239,7 +239,7 @@ class Chef def render_template template_file = find_template template = IO.read(template_file).chomp - secret = encryption_secret_provided?(false) ? read_secret : nil + secret = encryption_secret_provided_ignore_encrypt_flag? ? read_secret : nil context = Knife::Core::BootstrapContext.new(config, config[:run_list], Chef::Config, secret) Erubis::Eruby.new(template).evaluate(context) end |