Skip to main content

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 KeyDefault Values In Automate (Having Infra Server Package)Default Values In Automate HAAutomate Configuration
nginx[‘client_max_body_size’]250250[cs_nginx.v1.sys.ngx.http]
client_max_body_size="250"
nginx[‘ssl_protocols’]TLSv1.2TLSv1.2[cs_nginx.v1.sys.ngx.http]
ssl_protocols="TLSv1.2"
nginx[‘worker_connections’]1024010240[cs_nginx.v1.sys.ngx.events]
worker_connections=10240
nginx[‘worker_processes’]42[cs_nginx.v1.sys.ngx.main]
worker_processes=4
nginx[‘gzip’]ONON[cs_nginz.v1.sys.ngx.http]
gzip= "on"
nginx[‘gzip_comp_level’]22[cs_nginz.v1.sys.ngx.http]
gzip_comp_level=2
nginx[‘gzip_http_version’]11[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’]6565[cs_nginz.v1.sys.ngx.http]
keepalive_timeout=65
nginx[‘sendfile’]ONON[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’]90028800[erchef.v1.sys.api]
s3_url_ttl=900
opscode_erchef[‘auth_skew’]900900[erchef.v1.sys.api]
auth_skew=900
opscode_erchef[‘authz_fanout’]2020[erchef.v1.sys.authz]
fanout=20
opscode_erchef[‘authz_timeout’]20002000[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’]55[erchef.v1.sys.api]
bulk_fetch_batch_size=5
opscode_erchef[‘cleanup_batch_size’]00[erchef.v1.sys.authz]
cleanup_batch_size=0
opscode_erchef[‘depsolver_timeout’]50005000[erchef.v1.sys.depsolver]
timeout=5000
opscode_erchef[‘depsolver_worker_count’]55[erchef.v1.sys.depsolver]
pool_init_size=5
opscode_erchef[‘depsolver_pooler_timeout’]1000000[erchef.v1.sys.depsolver]
pool_queue_timeout=100000
opscode_erchef[‘depsolver_pool_queue_max’]1050[erchef.v1.sys.depsolver]
pool_queue_max=10
opscode_erchef[‘db_pool_size’]4020[erchef.v1.sys.sql]
pool_max_size=40
opscode_erchef[‘db_pool_queue_max’]4020[erchef.v1.sys.sql]
pool_queue_max=40
opscode_erchef[‘ibrowse_max_pipeline_size’]11[erchef.v1.sys.ibrowse]
ibrowse_max_pipeline_size=1
opscode_erchef[‘ibrowse_max_sessions’]256256[erchef.v1.sys.ibrowse]
ibrowse_max_sessions=256
opscode_erchef[‘max_request_size’]40000004000000[erchef.v1.sys.api]
max_request_size=4000000
opscode_erchef[‘keygen_cache_size’]100010[erchef.v1.sys.keygen]
cache_size=1000
opscode_erchef[‘reindex_batch_size’]1010[erchef.v1.sys.index]
reindex_batch_size=10
opscode_erchef[‘reindex_sleep_min_ms’]500500[erchef.v1.sys.index]
reindex_sleep_min_ms=500
opscode_erchef[‘reindex_sleep_max_ms’]20002000[erchef.v1.sys.index]
reindex_sleep_max_ms=2000
opscode_erchef[‘reindex_item_retries’]33[erchef.v1.sys.index]
reindex_item_retries=3
opscode_erchef[‘cbv_cache_enabled’]FALSEFALSE[erchef.v1.sys.api]
cbv_cache_enabled=false
opscode_erchef[‘search_queue_mode’]batchbatch[erchef.v1.sys.index]
search_queue_mode="batch"
opscode_erchef[‘s3_enabled’]FALSEFALSE[erchef.v1.sys.api]
s3_enabled="true"
opscode_erchef[‘s3_bucket_name’]BookshelfBookshelf[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’]FALSEFALSE[erchef.V1.sys.api]
strict_search_result_acls= false
opscode_erchef[’enable_ibrowse_traces']FALSEFALSE[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’]200200[erchef.v1.sys.authz]
pool_queue_max=200
oc_chef_authz[‘http_max_count’]100100[erchef.v1.sys.authz]
pool_max_size=100
oc_chef_authz[‘http_init_count’]100100[erchef.v1.sys.authz]
pool_init_size=100
data_collector[’timeout']3000030000[erchef.v1.sys.data_collector]
timeout=30000
data_collector[‘http_init_count’]2525[erchef.v1.sys.data_collector]
pool_init_size=25
data_collector[‘http_max_count’]100100[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’]5050[bifrost.v1.sys.sql]
pool_queue_max=50
oc_bifrost[’extended_perf_log']TRUETRUE[bifrost.v1.sys.log]
extended_perf_log=true
bookshelf[‘stream_download’]TRUETRUE[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’]sqlsql[bookshelf.v1.sys.bookshelf]
storage_type = "sql"
bookshelf[‘vip’]127.0.0.1127.0.0.1[bookshelf.v1.sys.bookshelf]
virtual_ip = "127.0.0.1"
oc_chef_wm[‘health_ping_timeout’]400400[erchef.v1.sys.health]
health_ping_timeout=400

To know more about the above parameters, see chef-server.rb Optional Settings.

Edit this page on GitHub

Thank you for your feedback!

×









Search Results