Chef Infra Configuration In Chef Automate
This page lists the Chef Infra server keys that can be configured in Standalone Automate and Automate HA.
When operated in a standalone mode, the list contains specific available parameters that a person can patch or modify beyond what the values are in Chef Infra Server. All the parameters have their default values in Chef Infra Server. Now, you can access the same parameters from Chef Automate, which you can patch or change the values from the configuration file.
The list of parameters are as follows:
Chef Infra Server Key | Default Values In Automate (Having Infra Server Package) | Default Values In Automate HA | Automate Configuration |
---|---|---|---|
nginx[‘client_max_body_size’] | 250 | 250 | [cs_nginx.v1.sys.ngx.http] client_max_body_size="250" |
nginx[‘ssl_protocols’] | TLSv1.2 | TLSv1.2 | [cs_nginx.v1.sys.ngx.http] ssl_protocols="TLSv1.2" |
nginx[‘worker_connections’] | 10240 | 10240 | [cs_nginx.v1.sys.ngx.events] worker_connections=10240 |
nginx[‘worker_processes’] | 4 | 2 | [cs_nginx.v1.sys.ngx.main] worker_processes=4 |
nginx[‘gzip’] | ON | ON | [cs_nginz.v1.sys.ngx.http] gzip= "on" |
nginx[‘gzip_comp_level’] | 2 | 2 | [cs_nginz.v1.sys.ngx.http] gzip_comp_level=2 |
nginx[‘gzip_http_version’] | 1 | 1 | [cs_nginz.v1.sys.ngx.http] gzip_http_version=1 |
nginx[‘gzip_types’] | Refer nginx[gzip_type] | Refer nginx[gzip_type] | [cs_nginz.v1.sys.ngx.http] gzip_types ="['text/plain']" |
nginx[‘keepalive_timeout’] | 65 | 65 | [cs_nginz.v1.sys.ngx.http] keepalive_timeout=65 |
nginx[‘sendfile’] | ON | ON | [cs_nginz.v1.sys.ngx.http] sendfile ="on" |
nginx[‘ssl_ciphers’] | Refer nginx[ssl_ciphers] | Refer nginx[ssl_ciphers] | [cs_nginz.v1.sys.ngx.http] ssl_ciphers="" |
opscode_erchef[‘s3_url_ttl’] | 900 | 28800 | [erchef.v1.sys.api] s3_url_ttl=900 |
opscode_erchef[‘auth_skew’] | 900 | 900 | [erchef.v1.sys.api] auth_skew=900 |
opscode_erchef[‘authz_fanout’] | 20 | 20 | [erchef.v1.sys.authz] fanout=20 |
opscode_erchef[‘authz_timeout’] | 2000 | 2000 | [erchef.v1.sys.authz] timeout=2000 |
opscode_erchef[‘base_resource_url’] | :host_header | :host_header | [erchef.v1.sys.api] base_resource_url="host_header" |
opscode_erchef[‘bulk_fetch_batch_size’] | 5 | 5 | [erchef.v1.sys.api] bulk_fetch_batch_size=5 |
opscode_erchef[‘cleanup_batch_size’] | 0 | 0 | [erchef.v1.sys.authz] cleanup_batch_size=0 |
opscode_erchef[‘depsolver_timeout’] | 5000 | 5000 | [erchef.v1.sys.depsolver] timeout=5000 |
opscode_erchef[‘depsolver_worker_count’] | 5 | 5 | [erchef.v1.sys.depsolver] pool_init_size=5 |
opscode_erchef[‘depsolver_pooler_timeout’] | 100000 | 0 | [erchef.v1.sys.depsolver] pool_queue_timeout=100000 |
opscode_erchef[‘depsolver_pool_queue_max’] | 10 | 50 | [erchef.v1.sys.depsolver] pool_queue_max=10 |
opscode_erchef[‘db_pool_size’] | 40 | 20 | [erchef.v1.sys.sql] pool_max_size=40 |
opscode_erchef[‘db_pool_queue_max’] | 40 | 20 | [erchef.v1.sys.sql] pool_queue_max=40 |
opscode_erchef[‘ibrowse_max_pipeline_size’] | 1 | 1 | [erchef.v1.sys.ibrowse] ibrowse_max_pipeline_size=1 |
opscode_erchef[‘ibrowse_max_sessions’] | 256 | 256 | [erchef.v1.sys.ibrowse] ibrowse_max_sessions=256 |
opscode_erchef[‘max_request_size’] | 4000000 | 4000000 | [erchef.v1.sys.api] max_request_size=4000000 |
opscode_erchef[‘keygen_cache_size’] | 1000 | 10 | [erchef.v1.sys.keygen] cache_size=1000 |
opscode_erchef[‘reindex_batch_size’] | 10 | 10 | [erchef.v1.sys.index] reindex_batch_size=10 |
opscode_erchef[‘reindex_sleep_min_ms’] | 500 | 500 | [erchef.v1.sys.index] reindex_sleep_min_ms=500 |
opscode_erchef[‘reindex_sleep_max_ms’] | 2000 | 2000 | [erchef.v1.sys.index] reindex_sleep_max_ms=2000 |
opscode_erchef[‘reindex_item_retries’] | 3 | 3 | [erchef.v1.sys.index] reindex_item_retries=3 |
opscode_erchef[‘cbv_cache_enabled’] | FALSE | FALSE | [erchef.v1.sys.api] cbv_cache_enabled=false |
opscode_erchef[‘search_queue_mode’] | batch | batch | [erchef.v1.sys.index] search_queue_mode="batch" |
opscode_erchef[‘s3_enabled’] | FALSE | FALSE | [erchef.v1.sys.api] s3_enabled="true" |
opscode_erchef[‘s3_bucket_name’] | Bookshelf | Bookshelf | [erchef.v1.sys.api] s3_bucket_name="name" |
opscode_erchef[‘s3_external_url’] | [erchef.v1.sys.api] s3_external_url="url" | ||
opscode_erchef[‘strict_search_result_acls’] | FALSE | FALSE | [erchef.V1.sys.api] strict_search_result_acls= false |
opscode_erchef[’enable_ibrowse_traces'] | FALSE | FALSE | [erchef.v1.sys.ibrowse] enable_ibrowse_traces = false |
opscode_erchef[‘s3_url_expiry_window_size’] | {100, percent} | [erchef.v1.sys.api] s3_url_expiry_window_size_percent=100 | |
oc_chef_authz[‘http_queue_max’] | 200 | 200 | [erchef.v1.sys.authz] pool_queue_max=200 |
oc_chef_authz[‘http_max_count’] | 100 | 100 | [erchef.v1.sys.authz] pool_max_size=100 |
oc_chef_authz[‘http_init_count’] | 100 | 100 | [erchef.v1.sys.authz] pool_init_size=100 |
data_collector[’timeout'] | 30000 | 30000 | [erchef.v1.sys.data_collector] timeout=30000 |
data_collector[‘http_init_count’] | 25 | 25 | [erchef.v1.sys.data_collector] pool_init_size=25 |
data_collector[‘http_max_count’] | 100 | 100 | [erchef.v1.sys.data_collector] pool_max_size=100 |
data_collector[‘http_max_age’] | {70, sec} | {70, sec} | [erchef.v1.sys.data_collector] pool_max_age=70 |
data_collector[‘http_cull_interval’] | {1, min} | {1, min} | [erchef.v1.sys.data_collector] pool_cull_interval=1 |
data_collector[‘http_max_connection_duration’] | {70, sec} | {70, sec} | [erchef.v1.sys.data_collector] max_connection_duration=70 |
data_collector[‘ibrowse_options’] | [{connect_timeout, 10000}] | [{connect_timeout, 10000}] | [erchef.v1.sys.data_collector] ibrowse_timeout=10000 |
oc_bifrost[‘db_pool_queue_max’] | 50 | 50 | [bifrost.v1.sys.sql] pool_queue_max=50 |
oc_bifrost[’extended_perf_log'] | TRUE | TRUE | [bifrost.v1.sys.log] extended_perf_log=true |
bookshelf[‘stream_download’] | TRUE | TRUE | [bookshelf.v1.sys.bookshelf] stream_download=true |
bookshelf[‘aws_access_id’] | [bookshelf.v1.sys.bookshelf] aws_access_id="" | ||
bookshelf[‘aws_secret_key’] | [bookshelf.v1.sys.bookshelf] aws_secret_key="" | ||
bookshelf[’log_rotation'] | ‘file_maxbytes’: 104857600, ’num_to_keep’: 10 | ‘file_maxbytes’: 104857600, ’num_to_keep’: 10 | [bookshelf.v1.sys.log] rotation_max_bytes =104857600 rotation_max_files =10 |
bookshelf[‘storage_type’] | sql | sql | [bookshelf.v1.sys.bookshelf] storage_type = "sql" |
bookshelf[‘vip’] | 127.0.0.1 | 127.0.0.1 | [bookshelf.v1.sys.bookshelf] virtual_ip = "127.0.0.1" |
oc_chef_wm[‘health_ping_timeout’] | 400 | 400 | [erchef.v1.sys.health] health_ping_timeout=400 |
To know more about the above parameters, see chef-server.rb Optional Settings.