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

Unified Diff: modules/adblockplus/manifests/log/rotation.pp

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
« no previous file with comments | « modules/adblockplus/manifests/log/processor.pp ('k') | modules/adblockplus/manifests/log/tracker.pp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/adblockplus/manifests/log/rotation.pp
===================================================================
--- a/modules/adblockplus/manifests/log/rotation.pp
+++ b/modules/adblockplus/manifests/log/rotation.pp
@@ -20,6 +20,9 @@
# A single command string or multiple commands in array form, to
# become exectued after every successful rotation.
#
+# [*upload*]
+# Whether to export the rotated *.1.gz to the $adblockplus::log::uplink.
+#
# === Examples:
#
# adblockplus::log::rotation {'nginx_error_log':
@@ -30,6 +33,7 @@
# postrotate => [
# '[ ! -f /var/run/nginx.pid ] || kill -USR1 `cat /var/run/nginx.pid`',
# ],
+# upload => true,
# }
#
define adblockplus::log::rotation (
@@ -38,6 +42,7 @@
$interval = 'daily',
$path = "/var/log/$name",
$postrotate = [],
+ $upload = false,
) {
include adblockplus::log
« no previous file with comments | « modules/adblockplus/manifests/log/processor.pp ('k') | modules/adblockplus/manifests/log/tracker.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld