Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: modules/adblockplus/templates/log/rotation.erb

Issue 29333281: Issue 3307 - Introduce class adblockplus::log::rotation (Closed)
Patch Set: Created Jan. 7, 2016, 1:14 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « modules/adblockplus/manifests/log/rotation.pp ('k') | modules/private-stub/hiera/base.yaml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Puppet: Adblockplus::Log::Rotation['<%= @title %>']
2 <%= @path %> {
3 <%= @interval %>
4 compress
5 missingok
6 nodateext
7 rotate <%= @count.to_i %>
8 sharedscripts
9 shred
10 <% unless @postrotate.empty? -%>
11 postrotate
12 <%= @postrotate.join("\n ") rescue @postrotate %>
13 endscript
14 <% end -%>
15 <% if @upload -%>
16 lastaction
17 <%= scope.function_shellquote([
18 "ssh", "-i", "/etc/ssh/ssh_host_rsa_key",
19 scope.function_hiera("adblockplus::log::uplink", "localhost"),
20 @name,
21 ]) %> < <%= @path %>.1.gz
22 endscript
23 <% end -%>
24 }
OLDNEW
« no previous file with comments | « modules/adblockplus/manifests/log/rotation.pp ('k') | modules/private-stub/hiera/base.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld