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

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

Issue 29323748: Issue 2912 - Drop $nginx::worker_processes from statsmaster setup (Closed)
Patch Set: Created Aug. 17, 2015, 2:51 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 class statsmaster( 1 class statsmaster(
2 $domain, 2 $domain,
3 $certificate, 3 $certificate,
4 $private_key, 4 $private_key,
5 $is_default=false 5 $is_default=false
6 ) { 6 ) {
7 7
8 include statsmaster::downloads, statsmaster::awstats 8 include statsmaster::downloads, statsmaster::awstats
9 9
10 # Realize known_hosts from base module 10 # Realize known_hosts from base module
(...skipping 17 matching lines...) Expand all
28 } 28 }
29 29
30 file {'/home/stats/.ssh/id_rsa': 30 file {'/home/stats/.ssh/id_rsa':
31 ensure => present, 31 ensure => present,
32 owner => stats, 32 owner => stats,
33 mode => 0400, 33 mode => 0400,
34 source => 'puppet:///modules/private/stats@stats.adblockplus.org', 34 source => 'puppet:///modules/private/stats@stats.adblockplus.org',
35 } 35 }
36 36
37 class {'nginx': 37 class {'nginx':
38 worker_processes => 2,
39 worker_connections => 4000, 38 worker_connections => 4000,
40 ssl_session_cache => off, 39 ssl_session_cache => off,
41 } 40 }
42 41
43 file {'/var/www': 42 file {'/var/www':
44 ensure => directory, 43 ensure => directory,
45 mode => 0755, 44 mode => 0755,
46 owner => root 45 owner => root
47 } 46 }
48 47
(...skipping 27 matching lines...) Expand all
76 ensure => present, 75 ensure => present,
77 require => File['/opt/cron_geoipdb_update.py'], 76 require => File['/opt/cron_geoipdb_update.py'],
78 command => '/opt/cron_geoipdb_update.py', 77 command => '/opt/cron_geoipdb_update.py',
79 environment => ['MAILTO=admins@adblockplus.org,root'], 78 environment => ['MAILTO=admins@adblockplus.org,root'],
80 user => root, 79 user => root,
81 hour => 3, 80 hour => 3,
82 minute => 15, 81 minute => 15,
83 monthday => 3, 82 monthday => 3,
84 } 83 }
85 } 84 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld