]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tilecache/templates/default/logrotate.squid.erb
tilecache: block "Where my children" app
[chef.git] / cookbooks / tilecache / templates / default / logrotate.squid.erb
index d5db76b2fafa45b87822419432514e1ad93b8b92..697f0c5c6057a3040a62fda7dce23fff24e24926 100644 (file)
@@ -4,7 +4,7 @@
   daily
   compress
   compresscmd /usr/bin/xz
   daily
   compress
   compresscmd /usr/bin/xz
-  compressoptions --threads=<% [ node[:cpu][:total] / 2, 1 ].max.ceil %>
+  compressoptions --threads=<%= [ node[:cpu][:total] / 2, 1 ].max.ceil %>
   uncompresscmd /usr/bin/unxz
   compressext .xz
   rotate 2
   uncompresscmd /usr/bin/unxz
   compressext .xz
   rotate 2