Skip to content

Instantly share code, notes, and snippets.

@behemphi
Created April 8, 2013 16:10
Show Gist options
  • Save behemphi/5338031 to your computer and use it in GitHub Desktop.
Save behemphi/5338031 to your computer and use it in GitHub Desktop.
{
"chef_type": "environment",
"cookbook_versions": {
"apt": "= 1.5.0",
"base": "= 2.4.131",
"chef-client": "= 0.99.3",
"chef_handler": "= 1.0.8",
"erlang": "= 1.1.0",
"fm_console": "= 2.4.131",
"fm_deployment": "= 2.4.131",
"fm_implementation": "= 2.4.130",
"fm_nginx": "= 2.4.131",
"fm_one_time": "= 2.4.131",
"fm_uwsgi": "= 2.4.131",
"magnet-server": "= 2.4.131",
"mysql": "= 2.4.131",
"nginx": "= 1.4.0",
"ntp": "= 1.1.8",
"ohai": "= 1.1.8",
"python": "= 1.0.8",
"python_celery": "= 2.4.131",
"rabbitmq": "= 1.6.4",
"revealcloud": "= 0.0.6"
},
"default_attributes": {
"feedmagnet": {
"BRANCH": "env/prod/tiny",
"uwsgi": {
"deployment": {
"socket": "/tmp/uwsgi.sock",
"chmod_socket": "660",
"chdir": "/var/www/deployment",
"module": "wsgi:application",
"master": "True",
"pidfile": "/tmp/deployment-master.pid",
"uid": "uwsgi",
"gid": "fm",
"harakiri": "30",
"max_requests": "5000",
"post_buffering": "1",
"logto": "/var/log/uwsgi/deployment.log",
"harakiri_verbose": "false",
"buffer_size": "32768"
},
"conf": {
"logto": "/var/log/uwsgi/emperor.log",
"emperor": "/etc/uwsgi/conf.d/"
}
},
"nginx": {
"uwsgi": {
"uwsgi_buffers": "32 4k",
"uwsgi_cache_key": "$scheme://$host$request_uri",
"uwsgi_cache_use_stale": "timeout invalid_header updating",
"uwsgi_cache_valid": "200 301 302 10s",
"uwsgi_cache_valid_500": "500 1s",
"uwsgi_cache_valid_404": "404 1m",
"uwsgi_cache_valid_any": "any 2m",
"uwsgi_connect_timeout": "90",
"uwsgi_pass": "django",
"uwsgi_send_timeout": "90",
"uwsgi_read_timeout": "90"
},
"uwsgi_long_cache": {
"uwsgi_buffers": "32 4k",
"uwsgi_cache_key": "$scheme://$host$request_uri",
"uwsgi_cache_use_stale": "timeout invalid_header updating",
"uwsgi_cache_valid_500": "500 1s",
"uwsgi_cache_valid_404": "404 1m",
"uwsgi_cache_valid_any": "any 24h",
"uwsgi_connect_timeout": "90",
"uwsgi_pass": "django",
"uwsgi_send_timeout": "90",
"uwsgi_read_timeout": "90"
}
}
}
},
"description": "",
"json_class": "Chef::Environment",
"name": "prod_tiny",
"override_attributes": {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment