# DNS name for load balancer VIP api_fqdn "chef.example.com" # Specify that postgresql is an external database, and provide the # VIP of this cluster. This prevents the chef-server instance # from creating it's own local postgresql instance. postgresql['external'] = true # Point vip at a VIP/load-balancer that automatically routes to the master node # NOTE: for AWS RDS use the RDS hostname postgresql['vip'] = '172.28.128.3' postgresql['db_superuser'] = 'chef_pgsql' postgresql['db_superuser_password'] = '1351494fc1d3806e688536781ae9fdc044eda4c932c0da848436832e0813a9c961ccd2f7b7191f0c4bd2c4d841c0150005da' # These settings ensure that we use remote elasticsearch # instead of local solr for search. This also # set search_queue_mode to 'batch' to remove the indexing # dependency on rabbitmq, which is not supported in this HA configuration. opscode_solr4['external'] = true # Point external_url at a load balancer that evenly distributes requests to all active ElasticsSearch nodes opscode_solr4['external_url'] = 'http://172.28.128.3:9200' opscode_erchef['search_provider'] = 'elasticsearch' opscode_erchef['search_queue_mode'] = 'batch' # HA mode requires sql-backed storage for bookshelf. bookshelf['storage_type'] = :sql # RabbitMQ settings # At this time we are not providing a rabbit backend. Note that this makes # this incompatible with reporting and analytics unless you're bringing in # an external rabbitmq. rabbitmq['enable'] = false rabbitmq['management_enabled'] = false rabbitmq['queue_length_monitor_enabled'] = false # Opscode Expander # # opscode-expander isn't used when the search_queue_mode is batch. It # also doesn't support the elasticsearch backend. opscode_expander['enable'] = false # Prevent startup failures due to missing rabbit host dark_launch['actions'] = false # Cookbook Caching opscode_erchef['nginx_bookshelf_caching'] = :on opscode_erchef['s3_url_expiry_window_size'] = '50%'