Merge pull request #2058 from miketheman/chef_formatter_part_deux
provisioner/chef: fix formatter to work for Chef 10 and 11
This commit is contained in:
commit
42f30fc501
|
@ -33,7 +33,7 @@ pid_file "/var/run/chef/chef-client.pid"
|
|||
Mixlib::Log::Formatter.show_time = true
|
||||
|
||||
<% if formatter %>
|
||||
formatter "<%= formatter %>"
|
||||
add_formatter "<%= formatter %>"
|
||||
<% end %>
|
||||
|
||||
<% if custom_configuration -%>
|
||||
|
|
|
@ -29,7 +29,7 @@ https_proxy_pass <%= https_proxy_pass.inspect %>
|
|||
no_proxy <%= no_proxy.inspect %>
|
||||
|
||||
<% if formatter %>
|
||||
formatter "<%= formatter %>"
|
||||
add_formatter "<%= formatter %>"
|
||||
<% end %>
|
||||
|
||||
<% if custom_configuration -%>
|
||||
|
|
Loading…
Reference in New Issue