agile_solo 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.gitignore +22 -0
- data/Gemfile +4 -0
- data/LICENSE +20 -0
- data/README.md +90 -0
- data/Rakefile +1 -0
- data/agile_solo.gemspec +30 -0
- data/lib/agile_solo.rb +13 -0
- data/lib/agile_solo/application/solo.rb +20 -0
- data/lib/agile_solo/command.rb +17 -0
- data/lib/agile_solo/composite_command.rb +35 -0
- data/lib/agile_solo/config.rb +13 -0
- data/lib/agile_solo/consumer.rb +41 -0
- data/lib/agile_solo/server.rb +19 -0
- data/lib/agile_solo/version.rb +3 -0
- data/spec/agile_solo/command_spec.rb +15 -0
- data/spec/agile_solo/composite_command_spec.rb +31 -0
- data/spec/agile_solo/config_spec.rb +8 -0
- data/spec/agile_solo/consumer_spec.rb +52 -0
- data/spec/agile_solo/server_spec.rb +35 -0
- data/spec/chef_repo/.chef/knife.rb +6 -0
- data/spec/chef_repo/.gitignore +3 -0
- data/spec/chef_repo/.gitmodules +3 -0
- data/spec/chef_repo/.librarian/chef/config +3 -0
- data/spec/chef_repo/Cheffile +11 -0
- data/spec/chef_repo/Cheffile.lock +33 -0
- data/spec/chef_repo/README.md +92 -0
- data/spec/chef_repo/README_APP.md +23 -0
- data/spec/chef_repo/Rakefile +5 -0
- data/spec/chef_repo/chefignore +11 -0
- data/spec/chef_repo/cookbooks/apache/CHANGES.md +9 -0
- data/spec/chef_repo/cookbooks/apache/README.md +64 -0
- data/spec/chef_repo/cookbooks/apache/metadata.json +32 -0
- data/spec/chef_repo/cookbooks/apache/metadata.rb +11 -0
- data/spec/chef_repo/cookbooks/apache/providers/fastcgi.rb +116 -0
- data/spec/chef_repo/cookbooks/apache/recipes/default.rb +8 -0
- data/spec/chef_repo/cookbooks/apache/resources/fastcgi.rb +14 -0
- data/spec/chef_repo/cookbooks/apache/templates/default/fast-cgi-vhost.erb +41 -0
- data/spec/chef_repo/cookbooks/apache2/.gitignore +3 -0
- data/spec/chef_repo/cookbooks/apache2/CHANGELOG.md +158 -0
- data/spec/chef_repo/cookbooks/apache2/CONTRIBUTING.md +257 -0
- data/spec/chef_repo/cookbooks/apache2/Gemfile +10 -0
- data/spec/chef_repo/cookbooks/apache2/LICENSE +201 -0
- data/spec/chef_repo/cookbooks/apache2/README.md +581 -0
- data/spec/chef_repo/cookbooks/apache2/attributes/default.rb +153 -0
- data/spec/chef_repo/cookbooks/apache2/attributes/mod_auth_cas.rb +2 -0
- data/spec/chef_repo/cookbooks/apache2/attributes/mod_auth_openid.rb +32 -0
- data/spec/chef_repo/cookbooks/apache2/attributes/mod_ssl.rb +19 -0
- data/spec/chef_repo/cookbooks/apache2/definitions/apache_conf.rb +26 -0
- data/spec/chef_repo/cookbooks/apache2/definitions/apache_module.rb +53 -0
- data/spec/chef_repo/cookbooks/apache2/definitions/apache_site.rb +43 -0
- data/spec/chef_repo/cookbooks/apache2/definitions/web_app.rb +50 -0
- data/spec/chef_repo/cookbooks/apache2/files/default/apache2_module_conf_generate.pl +41 -0
- data/spec/chef_repo/cookbooks/apache2/files/default/tests/minitest/default_test.rb +77 -0
- data/spec/chef_repo/cookbooks/apache2/files/default/tests/minitest/god_monitor_test.rb +34 -0
- data/spec/chef_repo/cookbooks/apache2/files/default/tests/minitest/mod_apreq2_test.rb +19 -0
- data/spec/chef_repo/cookbooks/apache2/files/default/tests/minitest/mod_auth_cas_test.rb +11 -0
- data/spec/chef_repo/cookbooks/apache2/files/default/tests/minitest/mod_auth_openid_test.rb +37 -0
- data/spec/chef_repo/cookbooks/apache2/files/default/tests/minitest/mod_cgi_test.rb +13 -0
- data/spec/chef_repo/cookbooks/apache2/files/default/tests/minitest/mod_dav_svn_test.rb +14 -0
- data/spec/chef_repo/cookbooks/apache2/files/default/tests/minitest/mod_fastcgi.rb +11 -0
- data/spec/chef_repo/cookbooks/apache2/files/default/tests/minitest/mod_include_test.rb +15 -0
- data/spec/chef_repo/cookbooks/apache2/files/default/tests/minitest/mod_perl_test.rb +18 -0
- data/spec/chef_repo/cookbooks/apache2/files/default/tests/minitest/mod_php5_test.rb +13 -0
- data/spec/chef_repo/cookbooks/apache2/files/default/tests/minitest/mod_python_test.rb +10 -0
- data/spec/chef_repo/cookbooks/apache2/files/default/tests/minitest/mod_ssl_test.rb +28 -0
- data/spec/chef_repo/cookbooks/apache2/files/default/tests/minitest/support/helpers.rb +65 -0
- data/spec/chef_repo/cookbooks/apache2/metadata.json +527 -0
- data/spec/chef_repo/cookbooks/apache2/metadata.rb +213 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/default.rb +223 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/god_monitor.rb +33 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/iptables.rb +20 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/logrotate.rb +31 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_alias.rb +22 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_apreq2.rb +54 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_auth_basic.rb +20 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_auth_cas.rb +59 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_auth_digest.rb +20 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_auth_openid.rb +125 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_authn_file.rb +20 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_authnz_ldap.rb +20 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_authz_default.rb +20 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_authz_groupfile.rb +20 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_authz_host.rb +20 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_authz_user.rb +20 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_autoindex.rb +22 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_cgi.rb +20 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_dav.rb +20 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_dav_fs.rb +21 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_dav_svn.rb +41 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_deflate.rb +22 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_dir.rb +22 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_env.rb +20 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_expires.rb +20 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_fastcgi.rb +26 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_fcgid.rb +55 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_headers.rb +20 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_include.rb +22 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_ldap.rb +20 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_log_config.rb +24 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_logio.rb +24 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_mime.rb +22 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_negotiation.rb +22 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_perl.rb +44 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_php5.rb +78 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_proxy.rb +22 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_proxy_ajp.rb +21 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_proxy_balancer.rb +20 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_proxy_connect.rb +20 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_proxy_http.rb +20 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_python.rb +37 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_rewrite.rb +20 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_setenvif.rb +22 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_ssl.rb +46 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_status.rb +22 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_wsgi.rb +38 -0
- data/spec/chef_repo/cookbooks/apache2/recipes/mod_xsendfile.rb +38 -0
- data/spec/chef_repo/cookbooks/apache2/templates/default/a2dismod.erb +22 -0
- data/spec/chef_repo/cookbooks/apache2/templates/default/a2dissite.erb +29 -0
- data/spec/chef_repo/cookbooks/apache2/templates/default/a2enmod.erb +37 -0
- data/spec/chef_repo/cookbooks/apache2/templates/default/a2ensite.erb +38 -0
- data/spec/chef_repo/cookbooks/apache2/templates/default/apache2.conf.erb +238 -0
- data/spec/chef_repo/cookbooks/apache2/templates/default/apache2.god.erb +19 -0
- data/spec/chef_repo/cookbooks/apache2/templates/default/charset.erb +6 -0
- data/spec/chef_repo/cookbooks/apache2/templates/default/default-site.erb +57 -0
- data/spec/chef_repo/cookbooks/apache2/templates/default/etc-sysconfig-httpd.erb +31 -0
- data/spec/chef_repo/cookbooks/apache2/templates/default/mods/README +2 -0
- data/spec/chef_repo/cookbooks/apache2/templates/default/mods/alias.conf.erb +24 -0
- data/spec/chef_repo/cookbooks/apache2/templates/default/mods/auth_cas.conf.erb +1 -0
- data/spec/chef_repo/cookbooks/apache2/templates/default/mods/auth_cas.load.erb +1 -0
- data/spec/chef_repo/cookbooks/apache2/templates/default/mods/authopenid.load.erb +1 -0
- data/spec/chef_repo/cookbooks/apache2/templates/default/mods/autoindex.conf.erb +101 -0
- data/spec/chef_repo/cookbooks/apache2/templates/default/mods/deflate.conf.erb +16 -0
- data/spec/chef_repo/cookbooks/apache2/templates/default/mods/dir.conf.erb +5 -0
- data/spec/chef_repo/cookbooks/apache2/templates/default/mods/fastcgi.conf.erb +5 -0
- data/spec/chef_repo/cookbooks/apache2/templates/default/mods/fcgid.conf.erb +10 -0
- data/spec/chef_repo/cookbooks/apache2/templates/default/mods/include.conf.erb +4 -0
- data/spec/chef_repo/cookbooks/apache2/templates/default/mods/include.erb +4 -0
- data/spec/chef_repo/cookbooks/apache2/templates/default/mods/mime.conf.erb +198 -0
- data/spec/chef_repo/cookbooks/apache2/templates/default/mods/negotiation.conf.erb +18 -0
- data/spec/chef_repo/cookbooks/apache2/templates/default/mods/php5.conf.erb +16 -0
- data/spec/chef_repo/cookbooks/apache2/templates/default/mods/proxy.conf.erb +19 -0
- data/spec/chef_repo/cookbooks/apache2/templates/default/mods/setenvif.conf.erb +28 -0
- data/spec/chef_repo/cookbooks/apache2/templates/default/mods/ssl.conf.erb +77 -0
- data/spec/chef_repo/cookbooks/apache2/templates/default/mods/status.conf.erb +26 -0
- data/spec/chef_repo/cookbooks/apache2/templates/default/port_apache.erb +3 -0
- data/spec/chef_repo/cookbooks/apache2/templates/default/ports.conf.erb +6 -0
- data/spec/chef_repo/cookbooks/apache2/templates/default/security.erb +50 -0
- data/spec/chef_repo/cookbooks/apache2/templates/default/web_app.conf.erb +47 -0
- data/spec/chef_repo/cookbooks/apt/.gitignore +14 -0
- data/spec/chef_repo/cookbooks/apt/.kitchen.yml +33 -0
- data/spec/chef_repo/cookbooks/apt/Berksfile +8 -0
- data/spec/chef_repo/cookbooks/apt/CHANGELOG.md +79 -0
- data/spec/chef_repo/cookbooks/apt/CONTRIBUTING +29 -0
- data/spec/chef_repo/cookbooks/apt/LICENSE +201 -0
- data/spec/chef_repo/cookbooks/apt/README.md +238 -0
- data/spec/chef_repo/cookbooks/apt/TESTING.md +25 -0
- data/spec/chef_repo/cookbooks/apt/attributes/default.rb +3 -0
- data/spec/chef_repo/cookbooks/apt/files/default/apt-proxy-v2.conf +50 -0
- data/spec/chef_repo/cookbooks/apt/metadata.json +34 -0
- data/spec/chef_repo/cookbooks/apt/metadata.rb +14 -0
- data/spec/chef_repo/cookbooks/apt/providers/preference.rb +61 -0
- data/spec/chef_repo/cookbooks/apt/providers/repository.rb +138 -0
- data/spec/chef_repo/cookbooks/apt/recipes/cacher-client.rb +59 -0
- data/spec/chef_repo/cookbooks/apt/recipes/cacher-ng.rb +38 -0
- data/spec/chef_repo/cookbooks/apt/recipes/default.rb +68 -0
- data/spec/chef_repo/cookbooks/apt/resources/preference.rb +30 -0
- data/spec/chef_repo/cookbooks/apt/resources/repository.rb +40 -0
- data/spec/chef_repo/cookbooks/apt/templates/default/01proxy.erb +2 -0
- data/spec/chef_repo/cookbooks/apt/templates/default/acng.conf.erb +276 -0
- data/spec/chef_repo/cookbooks/apt/templates/ubuntu-10.04/acng.conf.erb +270 -0
- data/spec/chef_repo/cookbooks/build-essential/.gitignore +4 -0
- data/spec/chef_repo/cookbooks/build-essential/.kitchen.yml +42 -0
- data/spec/chef_repo/cookbooks/build-essential/Berksfile +3 -0
- data/spec/chef_repo/cookbooks/build-essential/CHANGELOG.md +42 -0
- data/spec/chef_repo/cookbooks/build-essential/CONTRIBUTING +29 -0
- data/spec/chef_repo/cookbooks/build-essential/LICENSE +201 -0
- data/spec/chef_repo/cookbooks/build-essential/README.md +139 -0
- data/spec/chef_repo/cookbooks/build-essential/TESTING.md +25 -0
- data/spec/chef_repo/cookbooks/build-essential/attributes/default.rb +33 -0
- data/spec/chef_repo/cookbooks/build-essential/metadata.json +44 -0
- data/spec/chef_repo/cookbooks/build-essential/metadata.rb +16 -0
- data/spec/chef_repo/cookbooks/build-essential/recipes/debian.rb +45 -0
- data/spec/chef_repo/cookbooks/build-essential/recipes/default.rb +24 -0
- data/spec/chef_repo/cookbooks/build-essential/recipes/fedora.rb +36 -0
- data/spec/chef_repo/cookbooks/build-essential/recipes/mac_os_x.rb +40 -0
- data/spec/chef_repo/cookbooks/build-essential/recipes/rhel.rb +43 -0
- data/spec/chef_repo/cookbooks/build-essential/recipes/smartos.rb +36 -0
- data/spec/chef_repo/cookbooks/build-essential/recipes/solaris2.rb +42 -0
- data/spec/chef_repo/cookbooks/build-essential/recipes/suse.rb +36 -0
- data/spec/chef_repo/cookbooks/install_from/README.md +51 -0
- data/spec/chef_repo/cookbooks/install_from/attributes/default.rb +2 -0
- data/spec/chef_repo/cookbooks/install_from/metadata.json +46 -0
- data/spec/chef_repo/cookbooks/install_from/metadata.rb +19 -0
- data/spec/chef_repo/cookbooks/install_from/providers/release.rb +143 -0
- data/spec/chef_repo/cookbooks/install_from/recipes/default.rb +26 -0
- data/spec/chef_repo/cookbooks/install_from/resources/release.rb +121 -0
- data/spec/chef_repo/cookbooks/metachef/.rspec +3 -0
- data/spec/chef_repo/cookbooks/metachef/.watchr +20 -0
- data/spec/chef_repo/cookbooks/metachef/Gemfile +15 -0
- data/spec/chef_repo/cookbooks/metachef/README.md +97 -0
- data/spec/chef_repo/cookbooks/metachef/attributes/default.rb +18 -0
- data/spec/chef_repo/cookbooks/metachef/definitions/daemon_user.rb +68 -0
- data/spec/chef_repo/cookbooks/metachef/definitions/kill_old_service.rb +35 -0
- data/spec/chef_repo/cookbooks/metachef/definitions/standard_dirs.rb +54 -0
- data/spec/chef_repo/cookbooks/metachef/libraries/aspect.rb +125 -0
- data/spec/chef_repo/cookbooks/metachef/libraries/aspects.rb +170 -0
- data/spec/chef_repo/cookbooks/metachef/libraries/attr_struct.rb +160 -0
- data/spec/chef_repo/cookbooks/metachef/libraries/component.rb +164 -0
- data/spec/chef_repo/cookbooks/metachef/libraries/cookbook_utils.rb +69 -0
- data/spec/chef_repo/cookbooks/metachef/libraries/discovery.rb +124 -0
- data/spec/chef_repo/cookbooks/metachef/libraries/discovery_lol.rb +55 -0
- data/spec/chef_repo/cookbooks/metachef/libraries/dump_aspects.rb +83 -0
- data/spec/chef_repo/cookbooks/metachef/libraries/metachef.rb +18 -0
- data/spec/chef_repo/cookbooks/metachef/libraries/node_utils.rb +91 -0
- data/spec/chef_repo/cookbooks/metachef/metadata.json +102 -0
- data/spec/chef_repo/cookbooks/metachef/metadata.rb +39 -0
- data/spec/chef_repo/cookbooks/metachef/recipes/default.rb +22 -0
- data/spec/chef_repo/cookbooks/nginx/.gitignore +9 -0
- data/spec/chef_repo/cookbooks/nginx/.kitchen.yml +62 -0
- data/spec/chef_repo/cookbooks/nginx/Berksfile +7 -0
- data/spec/chef_repo/cookbooks/nginx/CHANGELOG.md +158 -0
- data/spec/chef_repo/cookbooks/nginx/CONTRIBUTING.md +257 -0
- data/spec/chef_repo/cookbooks/nginx/LICENSE +201 -0
- data/spec/chef_repo/cookbooks/nginx/README.md +398 -0
- data/spec/chef_repo/cookbooks/nginx/TESTING.md +25 -0
- data/spec/chef_repo/cookbooks/nginx/attributes/default.rb +89 -0
- data/spec/chef_repo/cookbooks/nginx/attributes/echo.rb +10 -0
- data/spec/chef_repo/cookbooks/nginx/attributes/geoip.rb +30 -0
- data/spec/chef_repo/cookbooks/nginx/attributes/headers_more.rb +22 -0
- data/spec/chef_repo/cookbooks/nginx/attributes/naxsi.rb +24 -0
- data/spec/chef_repo/cookbooks/nginx/attributes/repo.rb +30 -0
- data/spec/chef_repo/cookbooks/nginx/attributes/source.rb +41 -0
- data/spec/chef_repo/cookbooks/nginx/attributes/upload_progress.rb +23 -0
- data/spec/chef_repo/cookbooks/nginx/chefignore +96 -0
- data/spec/chef_repo/cookbooks/nginx/definitions/nginx_site.rb +41 -0
- data/spec/chef_repo/cookbooks/nginx/files/default/mime.types +74 -0
- data/spec/chef_repo/cookbooks/nginx/files/default/naxsi_core.rules +82 -0
- data/spec/chef_repo/cookbooks/nginx/files/default/tests/minitest/default_test.rb +12 -0
- data/spec/chef_repo/cookbooks/nginx/files/default/tests/minitest/source_test.rb +9 -0
- data/spec/chef_repo/cookbooks/nginx/files/default/tests/minitest/support/helpers.rb +7 -0
- data/spec/chef_repo/cookbooks/nginx/metadata.json +315 -0
- data/spec/chef_repo/cookbooks/nginx/metadata.rb +113 -0
- data/spec/chef_repo/cookbooks/nginx/recipes/authorized_ips.rb +37 -0
- data/spec/chef_repo/cookbooks/nginx/recipes/commons.rb +23 -0
- data/spec/chef_repo/cookbooks/nginx/recipes/commons_conf.rb +40 -0
- data/spec/chef_repo/cookbooks/nginx/recipes/commons_dir.rb +41 -0
- data/spec/chef_repo/cookbooks/nginx/recipes/commons_script.rb +28 -0
- data/spec/chef_repo/cookbooks/nginx/recipes/default.rb +46 -0
- data/spec/chef_repo/cookbooks/nginx/recipes/headers_more_module.rb +54 -0
- data/spec/chef_repo/cookbooks/nginx/recipes/http_echo_module.rb +46 -0
- data/spec/chef_repo/cookbooks/nginx/recipes/http_geoip_module.rb +116 -0
- data/spec/chef_repo/cookbooks/nginx/recipes/http_gzip_static_module.rb +23 -0
- data/spec/chef_repo/cookbooks/nginx/recipes/http_realip_module.rb +42 -0
- data/spec/chef_repo/cookbooks/nginx/recipes/http_ssl_module.rb +23 -0
- data/spec/chef_repo/cookbooks/nginx/recipes/http_stub_status_module.rb +36 -0
- data/spec/chef_repo/cookbooks/nginx/recipes/ipv6.rb +22 -0
- data/spec/chef_repo/cookbooks/nginx/recipes/naxsi_module.rb +53 -0
- data/spec/chef_repo/cookbooks/nginx/recipes/ohai_plugin.rb +39 -0
- data/spec/chef_repo/cookbooks/nginx/recipes/passenger.rb +81 -0
- data/spec/chef_repo/cookbooks/nginx/recipes/repo.rb +42 -0
- data/spec/chef_repo/cookbooks/nginx/recipes/source.rb +204 -0
- data/spec/chef_repo/cookbooks/nginx/recipes/upload_progress_module.rb +46 -0
- data/spec/chef_repo/cookbooks/nginx/templates/debian/nginx.init.erb +97 -0
- data/spec/chef_repo/cookbooks/nginx/templates/default/default-site.erb +11 -0
- data/spec/chef_repo/cookbooks/nginx/templates/default/modules/authorized_ip.erb +6 -0
- data/spec/chef_repo/cookbooks/nginx/templates/default/modules/http_geoip.conf.erb +4 -0
- data/spec/chef_repo/cookbooks/nginx/templates/default/modules/http_realip.conf.erb +4 -0
- data/spec/chef_repo/cookbooks/nginx/templates/default/modules/nginx_status.erb +14 -0
- data/spec/chef_repo/cookbooks/nginx/templates/default/modules/passenger.conf.erb +10 -0
- data/spec/chef_repo/cookbooks/nginx/templates/default/nginx-upstart.conf.erb +40 -0
- data/spec/chef_repo/cookbooks/nginx/templates/default/nginx.conf.erb +69 -0
- data/spec/chef_repo/cookbooks/nginx/templates/default/nginx.init.erb +111 -0
- data/spec/chef_repo/cookbooks/nginx/templates/default/nginx.pill.erb +15 -0
- data/spec/chef_repo/cookbooks/nginx/templates/default/nginx.sysconfig.erb +1 -0
- data/spec/chef_repo/cookbooks/nginx/templates/default/nxdissite.erb +29 -0
- data/spec/chef_repo/cookbooks/nginx/templates/default/nxensite.erb +38 -0
- data/spec/chef_repo/cookbooks/nginx/templates/default/plugins/nginx.rb.erb +66 -0
- data/spec/chef_repo/cookbooks/nginx/templates/default/sv-nginx-log-run.erb +2 -0
- data/spec/chef_repo/cookbooks/nginx/templates/default/sv-nginx-run.erb +3 -0
- data/spec/chef_repo/cookbooks/nginx/templates/gentoo/nginx.init.erb +87 -0
- data/spec/chef_repo/cookbooks/nginx/templates/ubuntu/nginx.init.erb +97 -0
- data/spec/chef_repo/cookbooks/ohai/CHANGELOG.md +27 -0
- data/spec/chef_repo/cookbooks/ohai/CONTRIBUTING +29 -0
- data/spec/chef_repo/cookbooks/ohai/LICENSE +201 -0
- data/spec/chef_repo/cookbooks/ohai/README.md +49 -0
- data/spec/chef_repo/cookbooks/ohai/attributes/default.rb +29 -0
- data/spec/chef_repo/cookbooks/ohai/files/default/plugins/README +1 -0
- data/spec/chef_repo/cookbooks/ohai/metadata.json +60 -0
- data/spec/chef_repo/cookbooks/ohai/metadata.rb +23 -0
- data/spec/chef_repo/cookbooks/ohai/recipes/default.rb +54 -0
- data/spec/chef_repo/cookbooks/redis/README.md +76 -0
- data/spec/chef_repo/cookbooks/redis/attributes/default.rb +51 -0
- data/spec/chef_repo/cookbooks/redis/metadata.json +304 -0
- data/spec/chef_repo/cookbooks/redis/metadata.rb +112 -0
- data/spec/chef_repo/cookbooks/redis/recipes/client.rb +23 -0
- data/spec/chef_repo/cookbooks/redis/recipes/default.rb +34 -0
- data/spec/chef_repo/cookbooks/redis/recipes/install_from_package.rb +26 -0
- data/spec/chef_repo/cookbooks/redis/recipes/install_from_release.rb +30 -0
- data/spec/chef_repo/cookbooks/redis/recipes/server.rb +42 -0
- data/spec/chef_repo/cookbooks/redis/templates/default/redis.conf.erb +136 -0
- data/spec/chef_repo/cookbooks/redis/templates/default/sv-redis_server-log-run.erb +2 -0
- data/spec/chef_repo/cookbooks/redis/templates/default/sv-redis_server-run.erb +6 -0
- data/spec/chef_repo/cookbooks/runit/.gitignore +17 -0
- data/spec/chef_repo/cookbooks/runit/.kitchen.yml +53 -0
- data/spec/chef_repo/cookbooks/runit/Berksfile +12 -0
- data/spec/chef_repo/cookbooks/runit/CHANGELOG.md +97 -0
- data/spec/chef_repo/cookbooks/runit/CONTRIBUTING.md +257 -0
- data/spec/chef_repo/cookbooks/runit/Gemfile +8 -0
- data/spec/chef_repo/cookbooks/runit/LICENSE +201 -0
- data/spec/chef_repo/cookbooks/runit/README.md +448 -0
- data/spec/chef_repo/cookbooks/runit/Rakefile +17 -0
- data/spec/chef_repo/cookbooks/runit/attributes/default.rb +77 -0
- data/spec/chef_repo/cookbooks/runit/files/default/runit-2.1.1.tar.gz +0 -0
- data/spec/chef_repo/cookbooks/runit/files/default/runit.seed +1 -0
- data/spec/chef_repo/cookbooks/runit/files/default/runsvdir +0 -0
- data/spec/chef_repo/cookbooks/runit/files/ubuntu-6.10/runsvdir +6 -0
- data/spec/chef_repo/cookbooks/runit/files/ubuntu-7.04/runsvdir +7 -0
- data/spec/chef_repo/cookbooks/runit/files/ubuntu-7.10/runsvdir +7 -0
- data/spec/chef_repo/cookbooks/runit/files/ubuntu-8.04/runsvdir +7 -0
- data/spec/chef_repo/cookbooks/runit/libraries/default.rb +0 -0
- data/spec/chef_repo/cookbooks/runit/libraries/provider_runit_service.rb +428 -0
- data/spec/chef_repo/cookbooks/runit/libraries/resource_runit_service.rb +185 -0
- data/spec/chef_repo/cookbooks/runit/metadata.rb +16 -0
- data/spec/chef_repo/cookbooks/runit/recipes/default.rb +124 -0
- data/spec/chef_repo/cookbooks/runit/templates/debian/init.d.erb +66 -0
- data/spec/chef_repo/cookbooks/runit/templates/gentoo/runit-start.sh.erb +32 -0
- data/spec/chef_repo/cookbooks/yum/.gitignore +14 -0
- data/spec/chef_repo/cookbooks/yum/.kitchen.yml +22 -0
- data/spec/chef_repo/cookbooks/yum/Berksfile +7 -0
- data/spec/chef_repo/cookbooks/yum/CHANGELOG.md +97 -0
- data/spec/chef_repo/cookbooks/yum/CONTRIBUTING.md +257 -0
- data/spec/chef_repo/cookbooks/yum/LICENSE +201 -0
- data/spec/chef_repo/cookbooks/yum/README.md +270 -0
- data/spec/chef_repo/cookbooks/yum/attributes/default.rb +30 -0
- data/spec/chef_repo/cookbooks/yum/attributes/elrepo.rb +24 -0
- data/spec/chef_repo/cookbooks/yum/attributes/epel.rb +39 -0
- data/spec/chef_repo/cookbooks/yum/attributes/remi.rb +30 -0
- data/spec/chef_repo/cookbooks/yum/files/default/tests/minitest/default_test.rb +28 -0
- data/spec/chef_repo/cookbooks/yum/files/default/tests/minitest/support/helpers.rb +37 -0
- data/spec/chef_repo/cookbooks/yum/files/default/tests/minitest/test_test.rb +66 -0
- data/spec/chef_repo/cookbooks/yum/metadata.json +100 -0
- data/spec/chef_repo/cookbooks/yum/metadata.rb +37 -0
- data/spec/chef_repo/cookbooks/yum/providers/key.rb +79 -0
- data/spec/chef_repo/cookbooks/yum/providers/repository.rb +124 -0
- data/spec/chef_repo/cookbooks/yum/recipes/default.rb +18 -0
- data/spec/chef_repo/cookbooks/yum/recipes/elrepo.rb +31 -0
- data/spec/chef_repo/cookbooks/yum/recipes/epel.rb +35 -0
- data/spec/chef_repo/cookbooks/yum/recipes/ius.rb +42 -0
- data/spec/chef_repo/cookbooks/yum/recipes/remi.rb +35 -0
- data/spec/chef_repo/cookbooks/yum/recipes/repoforge.rb +41 -0
- data/spec/chef_repo/cookbooks/yum/recipes/test.rb +39 -0
- data/spec/chef_repo/cookbooks/yum/recipes/yum.rb +23 -0
- data/spec/chef_repo/cookbooks/yum/resources/key.rb +29 -0
- data/spec/chef_repo/cookbooks/yum/resources/repository.rb +41 -0
- data/spec/chef_repo/cookbooks/yum/templates/default/repo.erb +38 -0
- data/spec/chef_repo/cookbooks/yum/templates/default/yum-rhel5.conf.erb +33 -0
- data/spec/chef_repo/cookbooks/yum/templates/default/yum-rhel6.conf.erb +36 -0
- data/spec/chef_repo/data_bags/.gitkeep +0 -0
- data/spec/chef_repo/data_bags/sample/items.json +1 -0
- data/spec/chef_repo/roles/.gitkeep +0 -0
- data/spec/chef_repo/roles/dummy.json +14 -0
- data/spec/chef_repo/site-cookbooks/.gitkeep +0 -0
- data/spec/chef_repo/site-cookbooks/sample/CHANGELOG.md +12 -0
- data/spec/chef_repo/site-cookbooks/sample/README.md +68 -0
- data/spec/chef_repo/site-cookbooks/sample/metadata.rb +7 -0
- data/spec/chef_repo/site-cookbooks/sample/recipes/default.rb +18 -0
- data/spec/chef_repo/solo.rb +3 -0
- data/spec/fixtures/items.json +1 -0
- data/spec/spec_helper.rb +32 -0
- metadata +880 -0
@@ -0,0 +1,12 @@
|
|
1
|
+
require File.expand_path('../support/helpers', __FILE__)
|
2
|
+
|
3
|
+
describe 'nginx::default' do
|
4
|
+
include Helpers::Nginx
|
5
|
+
it 'installs nginx' do
|
6
|
+
package("nginx").must_be_installed
|
7
|
+
end
|
8
|
+
|
9
|
+
it 'runs a service named nginx' do
|
10
|
+
service("nginx").must_be_running
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,315 @@
|
|
1
|
+
{
|
2
|
+
"name": "nginx",
|
3
|
+
"description": "Installs and configures nginx",
|
4
|
+
"long_description": "",
|
5
|
+
"maintainer": "Opscode, Inc.",
|
6
|
+
"maintainer_email": "cookbooks@opscode.com",
|
7
|
+
"license": "Apache 2.0",
|
8
|
+
"platforms": {
|
9
|
+
"ubuntu": ">= 0.0.0",
|
10
|
+
"debian": ">= 0.0.0",
|
11
|
+
"centos": ">= 0.0.0",
|
12
|
+
"redhat": ">= 0.0.0",
|
13
|
+
"amazon": ">= 0.0.0",
|
14
|
+
"scientific": ">= 0.0.0",
|
15
|
+
"oracle": ">= 0.0.0",
|
16
|
+
"fedora": ">= 0.0.0"
|
17
|
+
},
|
18
|
+
"dependencies": {
|
19
|
+
"build-essential": ">= 0.0.0",
|
20
|
+
"yum": ">= 0.0.0",
|
21
|
+
"apt": ">= 0.0.0",
|
22
|
+
"runit": ">= 0.0.0",
|
23
|
+
"ohai": ">= 1.1.4"
|
24
|
+
},
|
25
|
+
"recommendations": {
|
26
|
+
},
|
27
|
+
"suggestions": {
|
28
|
+
"bluepill": ">= 0.0.0"
|
29
|
+
},
|
30
|
+
"conflicting": {
|
31
|
+
},
|
32
|
+
"providing": {
|
33
|
+
},
|
34
|
+
"replacing": {
|
35
|
+
},
|
36
|
+
"attributes": {
|
37
|
+
"nginx/dir": {
|
38
|
+
"display_name": "Nginx Directory",
|
39
|
+
"description": "Location of nginx configuration files",
|
40
|
+
"default": "/etc/nginx",
|
41
|
+
"choice": [
|
42
|
+
|
43
|
+
],
|
44
|
+
"calculated": false,
|
45
|
+
"type": "string",
|
46
|
+
"required": "optional",
|
47
|
+
"recipes": [
|
48
|
+
|
49
|
+
]
|
50
|
+
},
|
51
|
+
"nginx/log_dir": {
|
52
|
+
"display_name": "Nginx Log Directory",
|
53
|
+
"description": "Location for nginx logs",
|
54
|
+
"default": "/var/log/nginx",
|
55
|
+
"choice": [
|
56
|
+
|
57
|
+
],
|
58
|
+
"calculated": false,
|
59
|
+
"type": "string",
|
60
|
+
"required": "optional",
|
61
|
+
"recipes": [
|
62
|
+
|
63
|
+
]
|
64
|
+
},
|
65
|
+
"nginx/user": {
|
66
|
+
"display_name": "Nginx User",
|
67
|
+
"description": "User nginx will run as",
|
68
|
+
"default": "www-data",
|
69
|
+
"choice": [
|
70
|
+
|
71
|
+
],
|
72
|
+
"calculated": false,
|
73
|
+
"type": "string",
|
74
|
+
"required": "optional",
|
75
|
+
"recipes": [
|
76
|
+
|
77
|
+
]
|
78
|
+
},
|
79
|
+
"nginx/binary": {
|
80
|
+
"display_name": "Nginx Binary",
|
81
|
+
"description": "Location of the nginx server binary",
|
82
|
+
"default": "/usr/sbin/nginx",
|
83
|
+
"choice": [
|
84
|
+
|
85
|
+
],
|
86
|
+
"calculated": false,
|
87
|
+
"type": "string",
|
88
|
+
"required": "optional",
|
89
|
+
"recipes": [
|
90
|
+
|
91
|
+
]
|
92
|
+
},
|
93
|
+
"nginx/gzip": {
|
94
|
+
"display_name": "Nginx Gzip",
|
95
|
+
"description": "Whether gzip is enabled",
|
96
|
+
"default": "on",
|
97
|
+
"choice": [
|
98
|
+
|
99
|
+
],
|
100
|
+
"calculated": false,
|
101
|
+
"type": "string",
|
102
|
+
"required": "optional",
|
103
|
+
"recipes": [
|
104
|
+
|
105
|
+
]
|
106
|
+
},
|
107
|
+
"nginx/gzip_http_version": {
|
108
|
+
"display_name": "Nginx Gzip HTTP Version",
|
109
|
+
"description": "Version of HTTP Gzip",
|
110
|
+
"default": "1.0",
|
111
|
+
"choice": [
|
112
|
+
|
113
|
+
],
|
114
|
+
"calculated": false,
|
115
|
+
"type": "string",
|
116
|
+
"required": "optional",
|
117
|
+
"recipes": [
|
118
|
+
|
119
|
+
]
|
120
|
+
},
|
121
|
+
"nginx/gzip_comp_level": {
|
122
|
+
"display_name": "Nginx Gzip Compression Level",
|
123
|
+
"description": "Amount of compression to use",
|
124
|
+
"default": "2",
|
125
|
+
"choice": [
|
126
|
+
|
127
|
+
],
|
128
|
+
"calculated": false,
|
129
|
+
"type": "string",
|
130
|
+
"required": "optional",
|
131
|
+
"recipes": [
|
132
|
+
|
133
|
+
]
|
134
|
+
},
|
135
|
+
"nginx/gzip_proxied": {
|
136
|
+
"display_name": "Nginx Gzip Proxied",
|
137
|
+
"description": "Whether gzip is proxied",
|
138
|
+
"default": "any",
|
139
|
+
"choice": [
|
140
|
+
|
141
|
+
],
|
142
|
+
"calculated": false,
|
143
|
+
"type": "string",
|
144
|
+
"required": "optional",
|
145
|
+
"recipes": [
|
146
|
+
|
147
|
+
]
|
148
|
+
},
|
149
|
+
"nginx/gzip_types": {
|
150
|
+
"display_name": "Nginx Gzip Types",
|
151
|
+
"description": "Supported MIME-types for gzip",
|
152
|
+
"type": "array",
|
153
|
+
"default": [
|
154
|
+
"text/plain",
|
155
|
+
"text/css",
|
156
|
+
"application/x-javascript",
|
157
|
+
"text/xml",
|
158
|
+
"application/xml",
|
159
|
+
"application/xml+rss",
|
160
|
+
"text/javascript",
|
161
|
+
"application/javascript",
|
162
|
+
"application/json"
|
163
|
+
],
|
164
|
+
"choice": [
|
165
|
+
|
166
|
+
],
|
167
|
+
"calculated": false,
|
168
|
+
"required": "optional",
|
169
|
+
"recipes": [
|
170
|
+
|
171
|
+
]
|
172
|
+
},
|
173
|
+
"nginx/keepalive": {
|
174
|
+
"display_name": "Nginx Keepalive",
|
175
|
+
"description": "Whether to enable keepalive",
|
176
|
+
"default": "on",
|
177
|
+
"choice": [
|
178
|
+
|
179
|
+
],
|
180
|
+
"calculated": false,
|
181
|
+
"type": "string",
|
182
|
+
"required": "optional",
|
183
|
+
"recipes": [
|
184
|
+
|
185
|
+
]
|
186
|
+
},
|
187
|
+
"nginx/keepalive_timeout": {
|
188
|
+
"display_name": "Nginx Keepalive Timeout",
|
189
|
+
"default": "65",
|
190
|
+
"choice": [
|
191
|
+
|
192
|
+
],
|
193
|
+
"calculated": false,
|
194
|
+
"type": "string",
|
195
|
+
"required": "optional",
|
196
|
+
"recipes": [
|
197
|
+
|
198
|
+
]
|
199
|
+
},
|
200
|
+
"nginx/worker_processes": {
|
201
|
+
"display_name": "Nginx Worker Processes",
|
202
|
+
"description": "Number of worker processes",
|
203
|
+
"default": "1",
|
204
|
+
"choice": [
|
205
|
+
|
206
|
+
],
|
207
|
+
"calculated": false,
|
208
|
+
"type": "string",
|
209
|
+
"required": "optional",
|
210
|
+
"recipes": [
|
211
|
+
|
212
|
+
]
|
213
|
+
},
|
214
|
+
"nginx/worker_connections": {
|
215
|
+
"display_name": "Nginx Worker Connections",
|
216
|
+
"description": "Number of connections per worker",
|
217
|
+
"default": "1024",
|
218
|
+
"choice": [
|
219
|
+
|
220
|
+
],
|
221
|
+
"calculated": false,
|
222
|
+
"type": "string",
|
223
|
+
"required": "optional",
|
224
|
+
"recipes": [
|
225
|
+
|
226
|
+
]
|
227
|
+
},
|
228
|
+
"nginx/server_names_hash_bucket_size": {
|
229
|
+
"display_name": "Nginx Server Names Hash Bucket Size",
|
230
|
+
"default": "64",
|
231
|
+
"choice": [
|
232
|
+
|
233
|
+
],
|
234
|
+
"calculated": false,
|
235
|
+
"type": "string",
|
236
|
+
"required": "optional",
|
237
|
+
"recipes": [
|
238
|
+
|
239
|
+
]
|
240
|
+
},
|
241
|
+
"nginx/types_hash_max_size": {
|
242
|
+
"display_name": "Nginx Types Hash Max Size",
|
243
|
+
"default": "2048",
|
244
|
+
"choice": [
|
245
|
+
|
246
|
+
],
|
247
|
+
"calculated": false,
|
248
|
+
"type": "string",
|
249
|
+
"required": "optional",
|
250
|
+
"recipes": [
|
251
|
+
|
252
|
+
]
|
253
|
+
},
|
254
|
+
"nginx/types_hash_bucket_size": {
|
255
|
+
"display_name": "Nginx Types Hash Bucket Size",
|
256
|
+
"default": "64",
|
257
|
+
"choice": [
|
258
|
+
|
259
|
+
],
|
260
|
+
"calculated": false,
|
261
|
+
"type": "string",
|
262
|
+
"required": "optional",
|
263
|
+
"recipes": [
|
264
|
+
|
265
|
+
]
|
266
|
+
},
|
267
|
+
"nginx/disable_access_log": {
|
268
|
+
"display_name": "Disable Access Log",
|
269
|
+
"default": "false",
|
270
|
+
"choice": [
|
271
|
+
|
272
|
+
],
|
273
|
+
"calculated": false,
|
274
|
+
"type": "string",
|
275
|
+
"required": "optional",
|
276
|
+
"recipes": [
|
277
|
+
|
278
|
+
]
|
279
|
+
},
|
280
|
+
"nginx/default_site_enabled": {
|
281
|
+
"display_name": "Default site enabled",
|
282
|
+
"default": "true",
|
283
|
+
"choice": [
|
284
|
+
|
285
|
+
],
|
286
|
+
"calculated": false,
|
287
|
+
"type": "string",
|
288
|
+
"required": "optional",
|
289
|
+
"recipes": [
|
290
|
+
|
291
|
+
]
|
292
|
+
},
|
293
|
+
"nginx/sendfile": {
|
294
|
+
"display_name": "Nginx sendfile",
|
295
|
+
"description": "Whether to enable sendfile",
|
296
|
+
"default": "on",
|
297
|
+
"choice": [
|
298
|
+
|
299
|
+
],
|
300
|
+
"calculated": false,
|
301
|
+
"type": "string",
|
302
|
+
"required": "optional",
|
303
|
+
"recipes": [
|
304
|
+
|
305
|
+
]
|
306
|
+
}
|
307
|
+
},
|
308
|
+
"groupings": {
|
309
|
+
},
|
310
|
+
"recipes": {
|
311
|
+
"nginx": "Installs nginx package and sets up configuration with Debian apache style with sites-enabled/sites-available",
|
312
|
+
"nginx::source": "Installs nginx from source and sets up configuration with Debian apache style with sites-enabled/sites-available"
|
313
|
+
},
|
314
|
+
"version": "1.6.0"
|
315
|
+
}
|
@@ -0,0 +1,113 @@
|
|
1
|
+
name "nginx"
|
2
|
+
maintainer "Opscode, Inc."
|
3
|
+
maintainer_email "cookbooks@opscode.com"
|
4
|
+
license "Apache 2.0"
|
5
|
+
description "Installs and configures nginx"
|
6
|
+
version "1.6.0"
|
7
|
+
|
8
|
+
recipe "nginx", "Installs nginx package and sets up configuration with Debian apache style with sites-enabled/sites-available"
|
9
|
+
recipe "nginx::source", "Installs nginx from source and sets up configuration with Debian apache style with sites-enabled/sites-available"
|
10
|
+
|
11
|
+
%w{ ubuntu debian centos redhat amazon scientific oracle fedora }.each do |os|
|
12
|
+
supports os
|
13
|
+
end
|
14
|
+
|
15
|
+
%w{ build-essential yum apt runit }.each do |cb|
|
16
|
+
depends cb
|
17
|
+
end
|
18
|
+
|
19
|
+
depends 'ohai', '>= 1.1.4'
|
20
|
+
|
21
|
+
%w{ bluepill }.each do |cb|
|
22
|
+
suggests cb
|
23
|
+
end
|
24
|
+
|
25
|
+
attribute "nginx/dir",
|
26
|
+
:display_name => "Nginx Directory",
|
27
|
+
:description => "Location of nginx configuration files",
|
28
|
+
:default => "/etc/nginx"
|
29
|
+
|
30
|
+
attribute "nginx/log_dir",
|
31
|
+
:display_name => "Nginx Log Directory",
|
32
|
+
:description => "Location for nginx logs",
|
33
|
+
:default => "/var/log/nginx"
|
34
|
+
|
35
|
+
attribute "nginx/user",
|
36
|
+
:display_name => "Nginx User",
|
37
|
+
:description => "User nginx will run as",
|
38
|
+
:default => "www-data"
|
39
|
+
|
40
|
+
attribute "nginx/binary",
|
41
|
+
:display_name => "Nginx Binary",
|
42
|
+
:description => "Location of the nginx server binary",
|
43
|
+
:default => "/usr/sbin/nginx"
|
44
|
+
|
45
|
+
attribute "nginx/gzip",
|
46
|
+
:display_name => "Nginx Gzip",
|
47
|
+
:description => "Whether gzip is enabled",
|
48
|
+
:default => "on"
|
49
|
+
|
50
|
+
attribute "nginx/gzip_http_version",
|
51
|
+
:display_name => "Nginx Gzip HTTP Version",
|
52
|
+
:description => "Version of HTTP Gzip",
|
53
|
+
:default => "1.0"
|
54
|
+
|
55
|
+
attribute "nginx/gzip_comp_level",
|
56
|
+
:display_name => "Nginx Gzip Compression Level",
|
57
|
+
:description => "Amount of compression to use",
|
58
|
+
:default => "2"
|
59
|
+
|
60
|
+
attribute "nginx/gzip_proxied",
|
61
|
+
:display_name => "Nginx Gzip Proxied",
|
62
|
+
:description => "Whether gzip is proxied",
|
63
|
+
:default => "any"
|
64
|
+
|
65
|
+
attribute "nginx/gzip_types",
|
66
|
+
:display_name => "Nginx Gzip Types",
|
67
|
+
:description => "Supported MIME-types for gzip",
|
68
|
+
:type => "array",
|
69
|
+
:default => [ "text/plain", "text/css", "application/x-javascript", "text/xml", "application/xml", "application/xml+rss", "text/javascript", "application/javascript", "application/json" ]
|
70
|
+
|
71
|
+
attribute "nginx/keepalive",
|
72
|
+
:display_name => "Nginx Keepalive",
|
73
|
+
:description => "Whether to enable keepalive",
|
74
|
+
:default => "on"
|
75
|
+
|
76
|
+
attribute "nginx/keepalive_timeout",
|
77
|
+
:display_name => "Nginx Keepalive Timeout",
|
78
|
+
:default => "65"
|
79
|
+
|
80
|
+
attribute "nginx/worker_processes",
|
81
|
+
:display_name => "Nginx Worker Processes",
|
82
|
+
:description => "Number of worker processes",
|
83
|
+
:default => "1"
|
84
|
+
|
85
|
+
attribute "nginx/worker_connections",
|
86
|
+
:display_name => "Nginx Worker Connections",
|
87
|
+
:description => "Number of connections per worker",
|
88
|
+
:default => "1024"
|
89
|
+
|
90
|
+
attribute "nginx/server_names_hash_bucket_size",
|
91
|
+
:display_name => "Nginx Server Names Hash Bucket Size",
|
92
|
+
:default => "64"
|
93
|
+
|
94
|
+
attribute "nginx/types_hash_max_size",
|
95
|
+
:display_name => "Nginx Types Hash Max Size",
|
96
|
+
:default => "2048"
|
97
|
+
|
98
|
+
attribute "nginx/types_hash_bucket_size",
|
99
|
+
:display_name => "Nginx Types Hash Bucket Size",
|
100
|
+
:default => "64"
|
101
|
+
|
102
|
+
attribute "nginx/disable_access_log",
|
103
|
+
:display_name => "Disable Access Log",
|
104
|
+
:default => "false"
|
105
|
+
|
106
|
+
attribute "nginx/default_site_enabled",
|
107
|
+
:display_name => "Default site enabled",
|
108
|
+
:default => "true"
|
109
|
+
|
110
|
+
attribute "nginx/sendfile",
|
111
|
+
:display_name => "Nginx sendfile",
|
112
|
+
:description => "Whether to enable sendfile",
|
113
|
+
:default => "on"
|