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: | |