summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsrb3 <sbrown@chef.io>2020-11-08 12:31:20 +0000
committersrb3 <sbrown@chef.io>2020-11-08 12:31:20 +0000
commit98eb4c822a02650d5e0b2a356c41f4d4492144cf (patch)
tree0733b65c94e172f2fb8433df202f62c287afb5fc
parentd6ffd5b44a04ff32e9049ed8c04bf4dad38e5b7e (diff)
downloadchef-98eb4c822a02650d5e0b2a356c41f4d4492144cf.tar.gz
simple fix: remove equals sign from client config
Signed-off-by: srb3 <sbrown@chef.io>
-rw-r--r--lib/chef/resource/support/client.erb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/resource/support/client.erb b/lib/chef/resource/support/client.erb
index 483825d3ee..d7bbde41f8 100644
--- a/lib/chef/resource/support/client.erb
+++ b/lib/chef/resource/support/client.erb
@@ -21,14 +21,14 @@
@policy_name
@ssl_verify_mode).each do |prop| -%>
<% next if instance_variable_get(prop).nil? || instance_variable_get(prop).empty? -%>
-<%=prop.delete_prefix("@") %> = <%= instance_variable_get(prop).inspect %>
+<%=prop.delete_prefix("@") %> <%= instance_variable_get(prop).inspect %>
<% end -%>
<%# log_location is special due to STDOUT/STDERR from String -> IO Object -%>
<% unless @log_location.nil? %>
<% if @log_location.is_a? String && %w(STDOUT STDERR).include?(@log_location) -%>
-log_location = <%= @log_location %>
+log_location <%= @log_location %>
<% else -%>
-log_location = <%= @log_location.inspect %>
+log_location <%= @log_location.inspect %>
<% end -%>
<% end -%>
<%# The code below is not DRY on purpose to improve readability -%>