diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-03-02 12:02:35 -0800 |
---|---|---|
committer | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-03-02 12:02:35 -0800 |
commit | 43c2ec8642e1a5383e0d1088fb2e16a10cc4db1c (patch) | |
tree | e04eb2c3b43062f72f945326551ececbe095501f /lib | |
parent | 14474f59eac093756594d03e88189f6d60132191 (diff) | |
download | chef-43c2ec8642e1a5383e0d1088fb2e16a10cc4db1c.tar.gz |
Add parens to highlight precedencepr-2988
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/knife/bootstrap.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/knife/bootstrap.rb b/lib/chef/knife/bootstrap.rb index 18a2a16181..e168a6bd9b 100644 --- a/lib/chef/knife/bootstrap.rb +++ b/lib/chef/knife/bootstrap.rb @@ -313,7 +313,8 @@ class Chef # chef-vault integration must use the new client-side hawtness, otherwise to use the # new client-side hawtness, just delete your validation key. - if chef_vault_handler.doing_chef_vault? || Chef::Config[:validation_key] && !File.exist?(File.expand_path(Chef::Config[:validation_key])) + if chef_vault_handler.doing_chef_vault? || + (Chef::Config[:validation_key] && !File.exist?(File.expand_path(Chef::Config[:validation_key]))) client_builder.run chef_vault_handler.run(node_name: config[:chef_node_name]) |