Skip to content

Commit

Permalink
Merge pull request sous-chefs#88 from johnbellone/master
Browse files Browse the repository at this point in the history
Fix issue with sslverify if set to false.
  • Loading branch information
Sean OMeara committed Sep 4, 2014
2 parents fe0d6a0 + 7be86a6 commit 4915f78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion templates/default/main.erb
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ sslclientcert=<%= @config.sslclientcert %>
<% if @config.sslclientkey %>
sslclientkey=<%= @config.sslclientkey %>
<% end %>
<% if @config.sslverify %>
<% unless @config.sslverify.nil? %>
sslverify=<%= @config.sslverify %>
<% end %>
<% if @config.syslog_device %>
Expand Down
6 changes: 2 additions & 4 deletions templates/default/repo.erb
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,8 @@ sslclientcert=<%= @config.sslclientcert %>
<% if @config.sslclientkey %>
sslclientkey=<%= @config.sslclientkey %>
<% end %>
<% if @config.sslverify %>
sslverify=1
<% else %>
sslverify=0
<% unless @config.sslverify.nil? %>
sslverify=<%= @config.sslverify %>
<% end %>
<% if @config.timeout %>
timeout=<%= @config.timeout %>
Expand Down

0 comments on commit 4915f78

Please sign in to comment.