Skip to content

Commit

Permalink
Adjust integers to strings.
Browse files Browse the repository at this point in the history
As part of merging #501, default values for config.pp were integers. However,
many of the current logic expects to see strings for many values. This commit
fixes things up while the validation logic can be adjusted to take account
integer.
  • Loading branch information
jfryman committed Nov 24, 2014
1 parent ced8237 commit c87744a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
28 changes: 14 additions & 14 deletions manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -48,32 +48,32 @@
$fastcgi_cache_inactive = '20m',
$fastcgi_cache_key = false,
$fastcgi_cache_keys_zone = 'd3:100m',
$fastcgi_cache_levels = 1,
$fastcgi_cache_levels = '1',
$fastcgi_cache_max_size = '500m',
$fastcgi_cache_path = false,
$fastcgi_cache_use_stale = false,
$gzip = 'on',
$http_cfg_append = false,
$http_tcp_nodelay = 'on',
$http_tcp_nopush = 'off',
$keepalive_timeout = 65,
$keepalive_timeout = '65',
$mail = false,
$multi_accept = 'off',
$names_hash_bucket_size = 64,
$names_hash_max_size = 512,
$names_hash_bucket_size = '64',
$names_hash_max_size = '512',
$proxy_buffers = '32 4k',
$proxy_buffer_size = '8k',
$proxy_cache_inactive = '20m',
$proxy_cache_keys_zone = 'd2:100m',
$proxy_cache_levels = 1,
$proxy_cache_levels = '1',
$proxy_cache_max_size = '500m',
$proxy_cache_path = false,
$proxy_connect_timeout = 90,
$proxy_headers_hash_bucket_size = 64,
$proxy_connect_timeout = '90',
$proxy_headers_hash_bucket_size = '64',
$proxy_http_version = '1.0',
$proxy_read_timeout = 90,
$proxy_read_timeout = '90',
$proxy_redirect = 'off',
$proxy_send_timeout = 90,
$proxy_send_timeout = '90',
$proxy_set_header = [
'Host $host',
'X-Real-IP $remote_addr',
Expand All @@ -83,11 +83,11 @@
$server_tokens = 'on',
$spdy = 'off',
$ssl_stapling = 'off',
$types_hash_bucket_size = 512,
$types_hash_max_size = 1024,
$worker_connections = 1024,
$worker_processes = 1,
$worker_rlimit_nofile = 1024,
$types_hash_bucket_size = '512',
$types_hash_max_size = '1024',
$worker_connections = '1024',
$worker_processes = '1',
$worker_rlimit_nofile = '1024',
### END Nginx Configuration ###
) inherits ::nginx::params {

Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jfryman-nginx",
"version": "0.2.0",
"version": "0.2.1",
"author": "James Fryman",
"summary": "Puppet NGINX management module",
"license": "MIT License",
Expand Down

0 comments on commit c87744a

Please sign in to comment.