Initial Chef repository
This commit is contained in:
9
cookbooks/apt/templates/default/01proxy.erb
Normal file
9
cookbooks/apt/templates/default/01proxy.erb
Normal file
@@ -0,0 +1,9 @@
|
||||
Acquire::http::Proxy "http://<%= @proxy %>:<%= @port %>";
|
||||
<% if @proxy_ssl %>
|
||||
Acquire::https::Proxy "http://<%= @proxy %>:<%= @port %>";
|
||||
<% else %>
|
||||
Acquire::https::Proxy "DIRECT";
|
||||
<% end %>
|
||||
<% @bypass.each do |bypass, type| %>
|
||||
Acquire::<%= type %>::Proxy::<%= bypass %> "DIRECT";
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user