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

Delta Between Two Patch Sets: modules/updateserver/manifests/init.pp

Issue 11439212: Add server21 as updateserver (Closed)
Left Patch Set: Created Aug. 16, 2013, 12:32 p.m.
Right Patch Set: Addressed issues Created Aug. 16, 2013, 2:07 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « modules/updateserver/files/update.adblockplus.org ('k') | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 class updateserver { 1 class updateserver {
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 File { 8 File {
9 owner => root, 9 owner => root,
10 group => root, 10 group => root
11 mode => 0644,
12 } 11 }
Wladimir Palant 2013/08/16 13:11:02 I would rather move this down - this is only relev
Felix Dahlke 2013/08/16 14:07:53 Keeping all files owned by root, as discussed.
13 12
14 file {'/var/www': 13 file {'/var/www':
15 ensure => directory, 14 ensure => directory,
16 owner => nginx,
17 mode => 0755, 15 mode => 0755,
18 require => Package['nginx'] 16 require => Package['nginx']
19 } 17 }
20 18
21 file {'/var/www/update': 19 file {'/var/www/update':
22 ensure => directory, 20 ensure => directory,
23 owner => nginx,
24 mode => 0755 21 mode => 0755
25 } 22 }
26 23
27 file {'/var/www/update/adblockplusie': 24 file {'/var/www/update/adblockplusie':
28 ensure => directory, 25 ensure => directory,
29 owner => nginx,
30 mode => 0755 26 mode => 0755
31 } 27 }
32 28
33 file {'/var/www/update/adblockplusie/update.json': 29 file {'/var/www/update/adblockplusie/update.json':
34 ensure => file, 30 ensure => file,
Wladimir Palant 2013/08/16 13:11:02 Maybe use nginx/0644 rather than having root as ow
Felix Dahlke 2013/08/16 14:07:53 As discussed, owner is root for now.
35 source => 'puppet:///modules/updateserver/adblockplusie/update.json' 31 source => 'puppet:///modules/updateserver/adblockplusie/update.json',
32 mode => 0644
36 } 33 }
37 34
38 file {'/etc/nginx/sites-available/adblockplus.org_sslcert.key': 35 file {'/etc/nginx/sites-available/adblockplus.org_sslcert.key':
39 ensure => file, 36 ensure => file,
40 notify => Service['nginx'], 37 notify => Service['nginx'],
41 before => Nginx::Hostconfig['update.adblockplus.org'], 38 before => Nginx::Hostconfig['update.adblockplus.org'],
42 mode => 0400, 39 mode => 0400,
43 source => 'puppet:///modules/private/adblockplus.org_sslcert.key' 40 source => 'puppet:///modules/private/adblockplus.org_sslcert.key'
44 } 41 }
45 42
(...skipping 10 matching lines...) Expand all
56 enabled => true 53 enabled => true
57 } 54 }
58 55
59 file {'/etc/logrotate.d/nginx_update.adblockplus.org': 56 file {'/etc/logrotate.d/nginx_update.adblockplus.org':
60 ensure => file, 57 ensure => file,
61 mode => 0444, 58 mode => 0444,
62 require => Nginx::Hostconfig['update.adblockplus.org'], 59 require => Nginx::Hostconfig['update.adblockplus.org'],
63 source => 'puppet:///modules/updateserver/logrotate' 60 source => 'puppet:///modules/updateserver/logrotate'
64 } 61 }
65 } 62 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld