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

Delta Between Two Patch Sets: modules/nginx/manifests/params.pp

Issue 29323409: Issue 2867 - Introduce module hgweb and corresponding server role (Closed)
Left Patch Set: Created Aug. 10, 2015, 8:15 a.m.
Right Patch Set: Issue 2867 - Now the complete patch-set again Created Aug. 17, 2015, 6:17 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « modules/hgweb/templates/sitescripts.ini.erb ('k') | modules/private-stub/hiera/hosts.yaml » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 class nginx::params { 1 class nginx::params {
2 $worker_processes = $::processorcount 2 $worker_processes = 2
3 $worker_connections = 1024 3 $worker_connections = 1024
4 $multi_accept = off 4 $multi_accept = off
5 $worker_rlimit_nofile = 30000 5 $worker_rlimit_nofile = 30000
6 $sendfile = on 6 $sendfile = on
7 $keepalive_timeout = 15 7 $keepalive_timeout = 15
8 $tcp_nodelay = on 8 $tcp_nodelay = on
9 $gzip = on 9 $gzip = on
10 $ssl_session_cache = on 10 $ssl_session_cache = on
11 11
12 $user = $::operatingsystem ? { 12 $user = $::operatingsystem ? {
13 /(?i-mx:debian|ubuntu)/ => 'www-data', 13 /(?i-mx:debian|ubuntu)/ => 'www-data',
14 /(?i-mx:fedora|rhel|redhat|centos|scientific|suse|opensuse)/ => 'nginx', 14 /(?i-mx:fedora|rhel|redhat|centos|scientific|suse|opensuse)/ => 'nginx',
15 } 15 }
16 16
17 $group = $::operatingsystem ? { 17 $group = $::operatingsystem ? {
18 /(?i-mx:debian|ubuntu)/ => 'www-data', 18 /(?i-mx:debian|ubuntu)/ => 'www-data',
19 /(?i-mx:fedora|rhel|redhat|centos|scientific|suse|opensuse)/ => 'www', 19 /(?i-mx:fedora|rhel|redhat|centos|scientific|suse|opensuse)/ => 'www',
20 } 20 }
21 } 21 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld