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

Unified Diff: modules/nginx/manifests/params.pp

Issue 29323553: Issue 2887 - Set nginx::worker_processes to 8 (Closed)
Patch Set: Created Aug. 13, 2015, 9:05 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « hiera/roles/filterserver.yaml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/nginx/manifests/params.pp
diff --git a/modules/nginx/manifests/params.pp b/modules/nginx/manifests/params.pp
index 0ef7d7b858a714293b6cb48310300c621c37017f..960dfc62237dba66ce1063aa435489e8835a1912 100644
--- a/modules/nginx/manifests/params.pp
+++ b/modules/nginx/manifests/params.pp
@@ -1,6 +1,6 @@
class nginx::params {
- $worker_processes = 2
- $worker_connections = 1024
+ $worker_processes = hiera('nginx::worker_processes', 2)
+ $worker_connections = hiera('nginx::worker_connections', 1024)
$multi_accept = off
$worker_rlimit_nofile = 30000
$sendfile = on
« no previous file with comments | « hiera/roles/filterserver.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld