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

Side by Side Diff: modules/notificationserver/manifests/init.pp

Issue 5143068516810752: Added new stats server and user counter page (Closed)
Patch Set: Centralized stats processing Created Dec. 20, 2013, 3:47 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
OLDNEW
1 class notificationserver { 1 class notificationserver {
2 class {'nginx': 2 class {'nginx':
3 worker_processes => 2, 3 worker_processes => 2,
4 worker_connections => 4000, 4 worker_connections => 4000,
5 ssl_session_cache => off, 5 ssl_session_cache => off,
6 } 6 }
7 7
8 class {'statsclient': 8 class {'sitescripts':
9 log_path => '/var/log/nginx/access_log_notification.1.gz', 9 sitescriptsini_source => 'puppet:///modules/notificationserver/sitescripts.i ni'
10 custom_sitescriptsini_source => 'puppet:///modules/notificationserver/sitesc ripts.ini'
11 } 10 }
12 11
13 file {'/var/www': 12 file {'/var/www':
14 ensure => directory, 13 ensure => directory,
15 owner => nginx, 14 owner => nginx,
16 mode => 0755, 15 mode => 0755,
17 require => Package['nginx'] 16 require => Package['nginx']
18 } 17 }
19 18
20 file {'/var/www/notification': 19 file {'/var/www/notification':
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 enabled => true 72 enabled => true
74 } 73 }
75 74
76 file {'/etc/logrotate.d/nginx_notification.adblockplus.org': 75 file {'/etc/logrotate.d/nginx_notification.adblockplus.org':
77 ensure => file, 76 ensure => file,
78 mode => 0444, 77 mode => 0444,
79 require => Nginx::Hostconfig['notification.adblockplus.org'], 78 require => Nginx::Hostconfig['notification.adblockplus.org'],
80 source => 'puppet:///modules/notificationserver/logrotate' 79 source => 'puppet:///modules/notificationserver/logrotate'
81 } 80 }
82 } 81 }
OLDNEW

Powered by Google App Engine
This is Rietveld