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

Unified Diff: modules/adblockplus/templates/log/rotation.erb

Issue 29341151: Issue 4019 - Added "Edge" to platform choices in Issues tracker at issues1. (Closed)
Patch Set: Created May 10, 2016, 3:35 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: modules/adblockplus/templates/log/rotation.erb
===================================================================
--- a/modules/adblockplus/templates/log/rotation.erb
+++ b/modules/adblockplus/templates/log/rotation.erb
@@ -12,4 +12,13 @@
<%= @postrotate.join("\n ") rescue @postrotate %>
endscript
<% end -%>
+<% if @upload -%>
+ lastaction
+ <%= scope.function_shellquote([
+ "ssh", "-i", "/etc/ssh/ssh_host_rsa_key",
+ scope.function_hiera("adblockplus::log::uplink", "localhost"),
+ @name,
+ ]) %> < <%= @path %>.1.gz
+ endscript
+<% end -%>
}
« no previous file with comments | « modules/adblockplus/templates/log/fluentd/tracker.conf.erb ('k') | modules/base/files/development_host_rsa_key » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld