Skip to content

Commit

Permalink
Merge pull request #1 from thias/master
Browse files Browse the repository at this point in the history
Merge thias/puppet-squid3 changes
  • Loading branch information
sid3windr authored Aug 29, 2016
2 parents ead4100 + 975900a commit b46d9f6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
* Fix cache_dir in short template, must be below maximum_object_size.

#### 2015-11-16 - 1.0.0
* Add FreeBSD support (#11, @misullivan).
* Add version parameter to set squid package version (#12, @actionjack).
Expand Down
10 changes: 5 additions & 5 deletions templates/squid.conf.short.erb
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,6 @@ https_port <%= line %>
tcp_outgoing_address <%= line %>
<% end -%>

# user-defined cache-dirs
<% @cache_dir.each do |line| -%>
cache_dir <%= line %>
<% end -%>


# general settings
hierarchy_stoplist cgi-bin ?
Expand Down Expand Up @@ -113,6 +108,11 @@ refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320


# user-defined cache-dirs
<% @cache_dir.each do |line| -%>
cache_dir <%= line %>
<% end -%>

# user-defined configuration settings from config_hash
<% @config_hash.sort_by {|k,v| k}.each do |k,v| -%>
<%= "%*s"%[-30,k] %> <%= v %>
Expand Down

0 comments on commit b46d9f6

Please sign in to comment.