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

Unified Diff: hiera/roles/web/adblockbrowser.yaml

Issue 29328518: Issue 2931 - Establish rotation for Adblock Browser feedback data (Closed)
Patch Set: Created Sept. 23, 2015, 6:48 a.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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: hiera/roles/web/adblockbrowser.yaml
diff --git a/hiera/roles/web/adblockbrowser.yaml b/hiera/roles/web/adblockbrowser.yaml
index a02a2a699b08bba71513875155bf8988db80ae1b..10c6aff293157ee5d50f4074462a8e18077a1e7d 100644
--- a/hiera/roles/web/adblockbrowser.yaml
+++ b/hiera/roles/web/adblockbrowser.yaml
@@ -14,6 +14,22 @@ classes:
multiplexer_locations:
- /sendInstallationLink
+logrotate::config:
+ adblockbrowser_feedback_data:
+ content: |
+ /var/log/nginx/adblockbrowser_feedback {
+ daily
+ rotate 30
+ compress
+ missingok
+ nodateext
+ sharedscripts
+ postrotate
+ [ ! -f /var/run/nginx.pid ] || kill -USR1 `cat /var/run/nginx.pid`
+ endscript
+ }
+ ensure: 'present'
+
sitescripts::configfragments:
installation_link:
content: |
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld