Skip to content

Commit

Permalink
fix style checks
Browse files Browse the repository at this point in the history
  • Loading branch information
kbucheli committed May 27, 2022
1 parent fa77a24 commit 84219eb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/puppet_x/puppet-community/http_validator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,12 @@ def initialize(http_resource_name, http_server, http_port, use_ssl, test_path, e
end
@test_headers = { 'Accept' => 'application/json' }
@expected_code = expected_code
@options = if @use_ssl then
@options = if @use_ssl
if verify_peer
{ include_system_store: true }
else
{ ssl_context: Puppet::SSL::SSLProvider.new.create_insecure_context }
end
else
nil
end
end

Expand Down

0 comments on commit 84219eb

Please sign in to comment.