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

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

Issue 11468051: Update stats processing (Closed)
Patch Set: Created Aug. 23, 2013, 1:58 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 {'sitescripts': 8 class {'statsclient':
9 sitescriptsini_source => 'puppet:///modules/notificationserver/sitescripts.i ni' 9 log_path => '/var/log/nginx/access_log_notification.1.gz',
10 custom_sitescriptsini_source => 'puppet:///modules/notificationserver/sitesc ripts.ini'
10 } 11 }
11 12
12 file {'/var/www': 13 file {'/var/www':
13 ensure => directory, 14 ensure => directory,
14 owner => nginx, 15 owner => nginx,
15 mode => 0755, 16 mode => 0755,
16 require => Package['nginx'] 17 require => Package['nginx']
17 } 18 }
18 19
19 file {'/var/www/notification': 20 file {'/var/www/notification':
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 enabled => true 70 enabled => true
70 } 71 }
71 72
72 file {'/etc/logrotate.d/nginx_notification.adblockplus.org': 73 file {'/etc/logrotate.d/nginx_notification.adblockplus.org':
73 ensure => file, 74 ensure => file,
74 mode => 0444, 75 mode => 0444,
75 require => Nginx::Hostconfig['notification.adblockplus.org'], 76 require => Nginx::Hostconfig['notification.adblockplus.org'],
76 source => 'puppet:///modules/notificationserver/logrotate' 77 source => 'puppet:///modules/notificationserver/logrotate'
77 } 78 }
78 } 79 }
OLDNEW

Powered by Google App Engine
This is Rietveld