Merge pull request #145 from Madnessy/master
fix typo / fixed filetype extension / added wiredtiger cache setting
This commit is contained in:
commit
1aa33529a8
|
@ -80,6 +80,9 @@ mongodb_storage_smallfiles: false # Very useful for non-data node
|
|||
mongodb_storage_journal_enabled: true # Enable journaling
|
||||
mongodb_storage_prealloc: true # Disable data file preallocation
|
||||
|
||||
# WiredTiger Options
|
||||
mongodb_wiredtiger_cache_size: 1 # Cache size for wiredTiger in GB
|
||||
|
||||
## systemLog Options
|
||||
## The destination to which MongoDB sends all log output. Specify either 'file' or 'syslog'.
|
||||
## If you specify 'file', you must also specify mongodb_systemlog_path.
|
||||
|
|
|
@ -28,7 +28,7 @@ mongodb_net_ipv6: false # Enable IPv6 support (disabled
|
|||
mongodb_net_maxconns: 65536 # Max number of simultaneous connections
|
||||
mongodb_net_port: 27017 # Specify port number
|
||||
mongodb_net_ssl: disabled # Enable or disable ssl connections
|
||||
mongodb_net_ssl_mode: # Set the ssl mode (RequireSSL / PreferSSL / AllowSSL / disabled)
|
||||
mongodb_net_ssl_mode: # Set the ssl mode (RequireSSL / preferSSL / AllowSSL / disabled)
|
||||
mongodb_net_ssl_pemfile: # Location of the pemfile to use for ssl
|
||||
|
||||
## processManagement Options
|
||||
|
|
|
@ -12,7 +12,7 @@ net:
|
|||
{% if mongodb_net_ssl_pemfile is defined and mongodb_net_ssl_mode is defined and mongodb_net_ssl == 'enabled' -%}
|
||||
ssl:
|
||||
mode: {{ mongodb_net_ssl_mode }}
|
||||
PEMKeyFile: {{ mongodb_net_ssl_pemfile }}.pem
|
||||
PEMKeyFile: {{ mongodb_net_ssl_pemfile }}
|
||||
{% endif %}
|
||||
|
||||
processManagement:
|
||||
|
@ -52,6 +52,12 @@ storage:
|
|||
smallFiles: {{ mongodb_storage_smallfiles | to_nice_json }}
|
||||
{% endif %}
|
||||
|
||||
{% if mongodb_wiredtiger_cache_size is defined %}
|
||||
wiredTiger:
|
||||
engineConfig:
|
||||
cacheSizeGB: {{ mongodb_wiredtiger_cache_size }}
|
||||
{% endif %}
|
||||
|
||||
systemLog:
|
||||
destination: {{ mongodb_systemlog_destination }}
|
||||
{% if mongodb_systemlog_destination == 'file' -%}
|
||||
|
|
Loading…
Reference in New Issue