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

Side by Side Diff: modules/nginx/manifests/params.pp

Issue 29323409: Issue 2867 - Introduce module hgweb and corresponding server role (Closed)
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:
View unified diff | Download patch
OLDNEW
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld