Skip to content

Instantly share code, notes, and snippets.

@KingPin
Created January 21, 2014 16:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save KingPin/8542999 to your computer and use it in GitHub Desktop.
Save KingPin/8542999 to your computer and use it in GitHub Desktop.
# http://www.opscode.com/blog/2013/03/11/chef-11-server-up-and-running/
# https://github.com/opscode/omnibus-chef-server/blob/master/files/chef-server-cookbooks/chef-server/attributes/default.rb
# http://www.opscode.com/blog/2013/03/12/5106/
server_name = "chef.domain"
api_fqdn server_name
rabbitmq['enable'] = false
rabbitmq['node_port'] = '5672'
#rabbitmq['node_ip_address'] = '10.12.10.65'
rabbitmq['node_ip_address'] = '127.0.0.1'
rabbitmq['nodename'] = 'chef@localhost'
#rabbitmq['vip'] = '10.12.10.65'
rabbitmq['vip'] = '127.0.0.1'
nginx['enable'] = true
nginx['ssl_port'] = '10.12.10.65:443'
nginx['enable_non_ssl'] = false
nginx['non_ssl_port'] = '10.12.10.65:80'
nginx['ssl_certificate'] = '/etc/ssl/certs/star.domain.crt'
nginx['ssl_certificate_key'] = '/etc/ssl/private/star.domain.key'
nginx['url'] = "https://#{server_name}"
nginx['server_name'] = server_name
bookshelf['listen'] = '127.0.0.1'
bookshelf['vip'] = server_name
erchef['listen'] = '127.0.0.1'
erchef['vip'] = '127.0.0.1'
lb['fqdn'] = server_name
#postgresql['listen_address'] = '10.12.10.65'
#postgresql['vip'] = '10.12.10.65'
postgresql['listen_address'] = '127.0.0.1'
postgresql['vip'] = '127.0.0.1'
#chef_solr['vip'] = '10.12.10.65'
chef_server_webui['vip'] = '127.0.0.1'
chef_server_webui['listen'] = '127.0.0.1'
#estatsd['vip'] = '10.12.10.65'
#lb['vip'] = '10.12.10.65'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment