├── .gitattributes
├── .gitignore
├── Berksfile
├── Berksfile.lock
├── README.md
├── Vagrantfile
├── berks-cookbooks
├── apache2
│ ├── .foodcritic
│ ├── CHANGELOG.md
│ ├── CONTRIBUTING.md
│ ├── README.md
│ ├── attributes
│ │ ├── default.rb
│ │ ├── mod_auth_cas.rb
│ │ ├── mod_auth_openid.rb
│ │ ├── mod_fastcgi.rb
│ │ ├── mod_pagespeed.rb
│ │ ├── mod_php.rb
│ │ └── mod_ssl.rb
│ ├── definitions
│ │ ├── apache_conf.rb
│ │ ├── apache_config.rb
│ │ ├── apache_mod.rb
│ │ ├── apache_module.rb
│ │ ├── apache_site.rb
│ │ └── web_app.rb
│ ├── files
│ │ └── apache2_module_conf_generate.pl
│ ├── libraries
│ │ ├── helpers.rb
│ │ └── listen.rb
│ ├── metadata.json
│ ├── recipes
│ │ ├── default.rb
│ │ ├── mod_access_compat.rb
│ │ ├── mod_actions.rb
│ │ ├── mod_alias.rb
│ │ ├── mod_allowmethods.rb
│ │ ├── mod_apreq2.rb
│ │ ├── mod_asis.rb
│ │ ├── mod_auth_basic.rb
│ │ ├── mod_auth_cas.rb
│ │ ├── mod_auth_digest.rb
│ │ ├── mod_auth_form.rb
│ │ ├── mod_auth_openid.rb
│ │ ├── mod_authn_anon.rb
│ │ ├── mod_authn_core.rb
│ │ ├── mod_authn_dbd.rb
│ │ ├── mod_authn_dbm.rb
│ │ ├── mod_authn_file.rb
│ │ ├── mod_authn_socache.rb
│ │ ├── mod_authnz_fcgi.rb
│ │ ├── mod_authnz_ldap.rb
│ │ ├── mod_authz_core.rb
│ │ ├── mod_authz_dbd.rb
│ │ ├── mod_authz_dbm.rb
│ │ ├── mod_authz_groupfile.rb
│ │ ├── mod_authz_host.rb
│ │ ├── mod_authz_owner.rb
│ │ ├── mod_authz_user.rb
│ │ ├── mod_autoindex.rb
│ │ ├── mod_buffer.rb
│ │ ├── mod_cache.rb
│ │ ├── mod_cache_disk.rb
│ │ ├── mod_cache_socache.rb
│ │ ├── mod_cern_meta.rb
│ │ ├── mod_cgi.rb
│ │ ├── mod_cgid.rb
│ │ ├── mod_charset_lite.rb
│ │ ├── mod_cloudflare.rb
│ │ ├── mod_data.rb
│ │ ├── mod_dav.rb
│ │ ├── mod_dav_fs.rb
│ │ ├── mod_dav_lock.rb
│ │ ├── mod_dav_svn.rb
│ │ ├── mod_dbd.rb
│ │ ├── mod_deflate.rb
│ │ ├── mod_dialup.rb
│ │ ├── mod_dir.rb
│ │ ├── mod_dump_io.rb
│ │ ├── mod_echo.rb
│ │ ├── mod_env.rb
│ │ ├── mod_expires.rb
│ │ ├── mod_ext_filter.rb
│ │ ├── mod_fastcgi.rb
│ │ ├── mod_fcgid.rb
│ │ ├── mod_file_cache.rb
│ │ ├── mod_filter.rb
│ │ ├── mod_headers.rb
│ │ ├── mod_heartbeat.rb
│ │ ├── mod_heartmonitor.rb
│ │ ├── mod_http2.rb
│ │ ├── mod_ident.rb
│ │ ├── mod_include.rb
│ │ ├── mod_info.rb
│ │ ├── mod_jk.rb
│ │ ├── mod_lbmethod_bybusyness.rb
│ │ ├── mod_lbmethod_byrequests.rb
│ │ ├── mod_lbmethod_bytraffic.rb
│ │ ├── mod_lbmethod_heartbeat.rb
│ │ ├── mod_ldap.rb
│ │ ├── mod_log_config.rb
│ │ ├── mod_log_debug.rb
│ │ ├── mod_log_forensic.rb
│ │ ├── mod_logio.rb
│ │ ├── mod_lua.rb
│ │ ├── mod_macro.rb
│ │ ├── mod_mime.rb
│ │ ├── mod_mime_magic.rb
│ │ ├── mod_negotiation.rb
│ │ ├── mod_pagespeed.rb
│ │ ├── mod_perl.rb
│ │ ├── mod_php.rb
│ │ ├── mod_proxy.rb
│ │ ├── mod_proxy_ajp.rb
│ │ ├── mod_proxy_balancer.rb
│ │ ├── mod_proxy_connect.rb
│ │ ├── mod_proxy_express.rb
│ │ ├── mod_proxy_fcgi.rb
│ │ ├── mod_proxy_fdpass.rb
│ │ ├── mod_proxy_ftp.rb
│ │ ├── mod_proxy_html.rb
│ │ ├── mod_proxy_http.rb
│ │ ├── mod_proxy_scgi.rb
│ │ ├── mod_proxy_wstunnel.rb
│ │ ├── mod_python.rb
│ │ ├── mod_ratelimit.rb
│ │ ├── mod_reflector.rb
│ │ ├── mod_remoteip.rb
│ │ ├── mod_reqtimeout.rb
│ │ ├── mod_request.rb
│ │ ├── mod_rewrite.rb
│ │ ├── mod_sed.rb
│ │ ├── mod_session.rb
│ │ ├── mod_session_cookie.rb
│ │ ├── mod_session_crypto.rb
│ │ ├── mod_session_dbd.rb
│ │ ├── mod_setenvif.rb
│ │ ├── mod_slotmem_plain.rb
│ │ ├── mod_slotmem_shm.rb
│ │ ├── mod_socache_dbm.rb
│ │ ├── mod_socache_dc.rb
│ │ ├── mod_socache_memcache.rb
│ │ ├── mod_socache_shmcb.rb
│ │ ├── mod_speling.rb
│ │ ├── mod_ssl.rb
│ │ ├── mod_status.rb
│ │ ├── mod_substitute.rb
│ │ ├── mod_suexec.rb
│ │ ├── mod_systemd.rb
│ │ ├── mod_unique_id.rb
│ │ ├── mod_unixd.rb
│ │ ├── mod_userdir.rb
│ │ ├── mod_usertrack.rb
│ │ ├── mod_version.rb
│ │ ├── mod_vhost_alias.rb
│ │ ├── mod_watchdog.rb
│ │ ├── mod_wsgi.rb
│ │ ├── mod_xml2enc.rb
│ │ ├── mod_xsendfile.rb
│ │ ├── mpm_event.rb
│ │ ├── mpm_prefork.rb
│ │ └── mpm_worker.rb
│ └── templates
│ │ └── default
│ │ ├── a2disconf.erb
│ │ ├── a2dismod.erb
│ │ ├── a2dissite.erb
│ │ ├── a2enconf.erb
│ │ ├── a2enmod.erb
│ │ ├── a2ensite.erb
│ │ ├── apache2.conf.erb
│ │ ├── charset.conf.erb
│ │ ├── default-site.conf.erb
│ │ ├── envvars.erb
│ │ ├── etc-sysconfig-httpd.erb
│ │ ├── mods
│ │ ├── README
│ │ ├── actions.conf.erb
│ │ ├── alias.conf.erb
│ │ ├── auth_cas.conf.erb
│ │ ├── auth_cas.load.erb
│ │ ├── authopenid.load.erb
│ │ ├── autoindex.conf.erb
│ │ ├── cache_disk.conf.erb
│ │ ├── cgid.conf.erb
│ │ ├── dav_fs.conf.erb
│ │ ├── deflate.conf.erb
│ │ ├── dir.conf.erb
│ │ ├── fastcgi.conf.erb
│ │ ├── fcgid.conf.erb
│ │ ├── include.conf.erb
│ │ ├── include.erb
│ │ ├── info.conf.erb
│ │ ├── ldap.conf.erb
│ │ ├── mime.conf.erb
│ │ ├── mime_magic.conf.erb
│ │ ├── mpm_event.conf.erb
│ │ ├── mpm_prefork.conf.erb
│ │ ├── mpm_worker.conf.erb
│ │ ├── negotiation.conf.erb
│ │ ├── pagespeed.conf.erb
│ │ ├── php.conf.erb
│ │ ├── proxy.conf.erb
│ │ ├── proxy_balancer.conf.erb
│ │ ├── proxy_ftp.conf.erb
│ │ ├── reqtimeout.conf.erb
│ │ ├── setenvif.conf.erb
│ │ ├── ssl.conf.erb
│ │ ├── status.conf.erb
│ │ └── userdir.conf.erb
│ │ ├── port_apache.erb
│ │ ├── ports.conf.erb
│ │ ├── security.conf.erb
│ │ └── web_app.conf.erb
├── apt
│ ├── CHANGELOG.md
│ ├── CONTRIBUTING.md
│ ├── README.md
│ ├── attributes
│ │ └── default.rb
│ ├── files
│ │ ├── 15update-stamp
│ │ └── apt-proxy-v2.conf
│ ├── libraries
│ │ └── helpers.rb
│ ├── metadata.json
│ ├── recipes
│ │ ├── cacher-client.rb
│ │ ├── cacher-ng.rb
│ │ ├── default.rb
│ │ └── unattended-upgrades.rb
│ └── templates
│ │ ├── 01proxy.erb
│ │ ├── 10dpkg-options.erb
│ │ ├── 10recommends.erb
│ │ ├── 20auto-upgrades.erb
│ │ ├── 50unattended-upgrades.erb
│ │ ├── acng.conf.erb
│ │ └── unattended-upgrades.seed.erb
├── ark
│ ├── .foodcritic
│ ├── CHANGELOG.md
│ ├── CONTRIBUTING.md
│ ├── README.md
│ ├── attributes
│ │ └── default.rb
│ ├── files
│ │ └── default
│ │ │ ├── foo.tar.gz
│ │ │ ├── foo.tbz
│ │ │ ├── foo.tgz
│ │ │ ├── foo.txz
│ │ │ ├── foo.zip
│ │ │ ├── foo_sub.tar.gz
│ │ │ └── foo_sub.zip
│ ├── libraries
│ │ ├── default.rb
│ │ ├── general_owner.rb
│ │ ├── platform_specific_builders.rb
│ │ ├── resource_defaults.rb
│ │ ├── resource_deprecations.rb
│ │ ├── sevenzip_command_builder.rb
│ │ ├── tar_command_builder.rb
│ │ ├── unzip_command_builder.rb
│ │ └── windows_owner.rb
│ ├── metadata.json
│ ├── recipes
│ │ └── default.rb
│ ├── resources
│ │ └── default.rb
│ └── templates
│ │ └── add_to_path.sh.erb
├── build-essential
│ ├── CHANGELOG.md
│ ├── CONTRIBUTING.md
│ ├── README.md
│ ├── attributes
│ │ └── default.rb
│ ├── metadata.json
│ ├── recipes
│ │ ├── _windows.rb
│ │ └── default.rb
│ └── resources
│ │ ├── build_essential.rb
│ │ └── xcode_command_line_tools.rb
├── chef-vault
│ ├── .foodcritic
│ ├── CHANGELOG.md
│ ├── CONTRIBUTING.md
│ ├── README.md
│ ├── attributes
│ │ └── default.rb
│ ├── libraries
│ │ └── helpers.rb
│ ├── metadata.json
│ ├── recipes
│ │ └── default.rb
│ └── resources
│ │ └── secret.rb
├── composer
│ ├── README.md
│ ├── attributes
│ │ └── default.rb
│ ├── libraries
│ │ └── composer.rb
│ ├── metadata.json
│ ├── providers
│ │ ├── install_global.rb
│ │ └── project.rb
│ ├── recipes
│ │ ├── default.rb
│ │ ├── global_configs.rb
│ │ ├── install.rb
│ │ └── self_update.rb
│ └── resources
│ │ ├── install_global.rb
│ │ └── project.rb
├── git
│ ├── CHANGELOG.md
│ ├── CONTRIBUTING.md
│ ├── README.md
│ ├── attributes
│ │ └── default.rb
│ ├── libraries
│ │ ├── helpers.rb
│ │ ├── provider_git_client.rb
│ │ ├── provider_git_client_osx.rb
│ │ ├── provider_git_client_package.rb
│ │ ├── provider_git_client_source.rb
│ │ ├── provider_git_client_windows.rb
│ │ ├── provider_git_service.rb
│ │ ├── resource_git_client.rb
│ │ └── resource_git_service.rb
│ ├── metadata.json
│ ├── recipes
│ │ ├── default.rb
│ │ ├── package.rb
│ │ ├── server.rb
│ │ ├── source.rb
│ │ └── windows.rb
│ ├── resources
│ │ └── config.rb
│ └── templates
│ │ ├── .DS_Store
│ │ └── git-xinetd.d.erb
├── magento-toolbox
│ ├── CHANGELOG.md
│ ├── LICENSE.txt
│ ├── README.md
│ ├── attributes
│ │ └── default.rb
│ ├── metadata.json
│ └── recipes
│ │ ├── modgit.rb
│ │ ├── modman.rb
│ │ └── n98-magerun.rb
├── mailhog
│ ├── CHANGELOG.md
│ ├── CONTRIBUTING.md
│ ├── README.md
│ ├── attributes
│ │ └── default.rb
│ ├── metadata.json
│ ├── recipes
│ │ ├── binary.rb
│ │ └── default.rb
│ └── templates
│ │ └── default
│ │ └── sv-mailhog-run.erb
├── mingw
│ ├── CHANGELOG.md
│ ├── CONTRIBUTING.md
│ ├── README.md
│ ├── attributes
│ │ └── default.rb
│ ├── files
│ │ └── default
│ │ │ ├── bash.bat
│ │ │ ├── custom-upgrade.sh
│ │ │ ├── custom_prefix.sh
│ │ │ ├── pthread.h
│ │ │ └── time.h
│ ├── libraries
│ │ └── _helper.rb
│ ├── metadata.json
│ ├── recipes
│ │ └── default.rb
│ └── resources
│ │ ├── get.rb
│ │ ├── msys2_package.rb
│ │ └── tdm_gcc.rb
├── mysql
│ ├── .foodcritic
│ ├── CHANGELOG.md
│ ├── CONTRIBUTING.md
│ ├── README.md
│ ├── libraries
│ │ ├── helpers.rb
│ │ ├── matchers.rb
│ │ ├── mysql_base.rb
│ │ ├── mysql_client_installation_package.rb
│ │ ├── mysql_config.rb
│ │ ├── mysql_server_installation_package.rb
│ │ ├── mysql_service.rb
│ │ ├── mysql_service_base.rb
│ │ ├── mysql_service_manager_systemd.rb
│ │ ├── mysql_service_manager_sysvinit.rb
│ │ └── mysql_service_manager_upstart.rb
│ ├── metadata.json
│ └── templates
│ │ └── default
│ │ ├── apparmor
│ │ ├── usr.sbin.mysqld-instance.erb
│ │ ├── usr.sbin.mysqld-local.erb
│ │ └── usr.sbin.mysqld.erb
│ │ ├── my.cnf.erb
│ │ ├── smf
│ │ └── svc.method.mysqld.erb
│ │ ├── systemd
│ │ ├── mysqld-wait-ready.erb
│ │ └── mysqld.service.erb
│ │ ├── sysvinit
│ │ └── mysqld.erb
│ │ ├── tmpfiles.d.conf.erb
│ │ └── upstart
│ │ ├── mysqld-wait-ready.erb
│ │ └── mysqld.erb
├── nodejs
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── attributes
│ │ ├── default.rb
│ │ ├── npm.rb
│ │ ├── packages.rb
│ │ └── repo.rb
│ ├── libraries
│ │ └── nodejs_helper.rb
│ ├── metadata.json
│ ├── recipes
│ │ ├── default.rb
│ │ ├── install.rb
│ │ ├── iojs.rb
│ │ ├── nodejs.rb
│ │ ├── nodejs_from_binary.rb
│ │ ├── nodejs_from_package.rb
│ │ ├── nodejs_from_source.rb
│ │ ├── npm.rb
│ │ ├── npm_from_source.rb
│ │ ├── npm_packages.rb
│ │ └── repo.rb
│ └── resources
│ │ └── npm_package.rb
├── openssl
│ ├── CHANGELOG.md
│ ├── CONTRIBUTING.md
│ ├── README.md
│ ├── attributes
│ │ └── default.rb
│ ├── libraries
│ │ ├── helpers.rb
│ │ ├── random_password.rb
│ │ └── secure_password.rb
│ ├── metadata.json
│ ├── recipes
│ │ ├── default.rb
│ │ └── upgrade.rb
│ └── resources
│ │ ├── dhparam.rb
│ │ ├── ec_private_key.rb
│ │ ├── ec_public_key.rb
│ │ ├── rsa_private_key.rb
│ │ ├── rsa_public_key.rb
│ │ ├── x509_certificate.rb
│ │ ├── x509_crl.rb
│ │ └── x509_request.rb
├── packagecloud
│ ├── Gemfile
│ ├── LICENSE
│ ├── README.md
│ ├── THANKS
│ ├── Thorfile
│ ├── attributes
│ │ └── default.rb
│ ├── chefignore
│ ├── libraries
│ │ ├── helper.rb
│ │ └── matchers.rb
│ ├── metadata.json
│ ├── resources
│ │ └── repo.rb
│ ├── spec
│ │ └── matchers_spec.rb
│ ├── templates
│ │ └── default
│ │ │ ├── apt.erb
│ │ │ └── yum.erb
│ └── test
│ │ ├── fixtures
│ │ └── cookbooks
│ │ │ └── packagecloud_test
│ │ │ ├── metadata.rb
│ │ │ └── recipes
│ │ │ ├── deb.rb
│ │ │ ├── distro_deps.rb
│ │ │ ├── rpm.rb
│ │ │ ├── rubygems.rb
│ │ │ └── rubygems_private.rb
│ │ └── integration
│ │ └── default
│ │ ├── force_os_spec.rb
│ │ ├── jake_spec.rb
│ │ └── jakedotrb_spec.rb
├── percona
│ ├── LICENSE.txt
│ ├── README.md
│ ├── Rakefile
│ ├── attributes
│ │ ├── client.rb
│ │ ├── default.rb
│ │ ├── monitoring.rb
│ │ └── package_repo.rb
│ ├── libraries
│ │ ├── config_helper.rb
│ │ ├── passwords.rb
│ │ ├── provider_mysql2_chef_gem.rb
│ │ └── provider_mysql_chef_gem.rb
│ ├── metadata.json
│ ├── recipes
│ │ ├── access_grants.rb
│ │ ├── backup.rb
│ │ ├── client.rb
│ │ ├── cluster.rb
│ │ ├── configure_server.rb
│ │ ├── default.rb
│ │ ├── monitoring.rb
│ │ ├── package_repo.rb
│ │ ├── replication.rb
│ │ ├── server.rb
│ │ ├── ssl.rb
│ │ └── toolkit.rb
│ └── templates
│ │ └── default
│ │ ├── debian.cnf.erb
│ │ ├── grants.sql.erb
│ │ ├── my.cnf.cluster.erb
│ │ ├── my.cnf.main.erb
│ │ ├── my.cnf.root.erb
│ │ └── replication.sql.erb
├── phing
│ ├── .kitchen.yml
│ ├── Berksfile
│ ├── CONTRIBUTING.md
│ ├── Gemfile
│ ├── README.md
│ ├── Thorfile
│ ├── attributes
│ │ └── default.rb
│ ├── chefignore
│ ├── metadata.json
│ ├── recipes
│ │ ├── composer.rb
│ │ ├── default.rb
│ │ └── pear.rb
│ └── templates
│ │ └── default
│ │ └── composer.json.erb
├── php
│ ├── CHANGELOG.md
│ ├── CONTRIBUTING.md
│ ├── README.md
│ ├── attributes
│ │ └── default.rb
│ ├── metadata.json
│ ├── recipes
│ │ ├── default.rb
│ │ ├── ini.rb
│ │ ├── package.rb
│ │ ├── recompile.rb
│ │ └── source.rb
│ ├── resources
│ │ ├── fpm_pool.rb
│ │ ├── pear.rb
│ │ └── pear_channel.rb
│ └── templates
│ │ ├── centos
│ │ └── php.ini.erb
│ │ ├── debian
│ │ └── php.ini.erb
│ │ ├── default
│ │ ├── extension.ini.erb
│ │ ├── fpm-pool.conf.erb
│ │ └── php.ini.erb
│ │ ├── redhat
│ │ └── php.ini.erb
│ │ └── ubuntu
│ │ └── php.ini.erb
├── poise-archive
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── attributes
│ │ └── default.rb
│ ├── files
│ │ └── halite_gem
│ │ │ ├── poise_archive.rb
│ │ │ └── poise_archive
│ │ │ ├── archive_providers.rb
│ │ │ ├── archive_providers
│ │ │ ├── base.rb
│ │ │ ├── gnu_tar.rb
│ │ │ ├── seven_zip.rb
│ │ │ ├── tar.rb
│ │ │ └── zip.rb
│ │ │ ├── bzip2.rb
│ │ │ ├── bzip2
│ │ │ ├── LICENSE
│ │ │ ├── constants.rb
│ │ │ ├── crc.rb
│ │ │ ├── decompressor.rb
│ │ │ ├── input_data.rb
│ │ │ └── output_data.rb
│ │ │ ├── cheftie.rb
│ │ │ ├── resources.rb
│ │ │ ├── resources
│ │ │ └── poise_archive.rb
│ │ │ └── version.rb
│ ├── libraries
│ │ └── default.rb
│ └── metadata.json
├── poise-languages
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── files
│ │ └── halite_gem
│ │ │ ├── poise_languages.rb
│ │ │ └── poise_languages
│ │ │ ├── command.rb
│ │ │ ├── command
│ │ │ └── mixin.rb
│ │ │ ├── error.rb
│ │ │ ├── scl.rb
│ │ │ ├── scl
│ │ │ ├── mixin.rb
│ │ │ └── resource.rb
│ │ │ ├── static.rb
│ │ │ ├── static
│ │ │ ├── mixin.rb
│ │ │ └── resource.rb
│ │ │ ├── system.rb
│ │ │ ├── system
│ │ │ ├── mixin.rb
│ │ │ └── resource.rb
│ │ │ ├── utils.rb
│ │ │ ├── utils
│ │ │ └── which.rb
│ │ │ └── version.rb
│ ├── libraries
│ │ └── default.rb
│ └── metadata.json
├── poise-python
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── attributes
│ │ └── default.rb
│ ├── files
│ │ └── halite_gem
│ │ │ ├── poise_python.rb
│ │ │ └── poise_python
│ │ │ ├── cheftie.rb
│ │ │ ├── error.rb
│ │ │ ├── python_command_mixin.rb
│ │ │ ├── python_providers.rb
│ │ │ ├── python_providers
│ │ │ ├── base.rb
│ │ │ ├── dummy.rb
│ │ │ ├── msi.rb
│ │ │ ├── portable_pypy.rb
│ │ │ ├── portable_pypy3.rb
│ │ │ ├── scl.rb
│ │ │ └── system.rb
│ │ │ ├── resources.rb
│ │ │ ├── resources
│ │ │ ├── pip_requirements.rb
│ │ │ ├── python_execute.rb
│ │ │ ├── python_package.rb
│ │ │ ├── python_runtime.rb
│ │ │ ├── python_runtime_pip.rb
│ │ │ ├── python_runtime_test.rb
│ │ │ └── python_virtualenv.rb
│ │ │ ├── utils.rb
│ │ │ ├── utils
│ │ │ └── python_encoder.rb
│ │ │ └── version.rb
│ ├── libraries
│ │ └── default.rb
│ ├── metadata.json
│ └── recipes
│ │ └── default.rb
├── poise
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── files
│ │ └── halite_gem
│ │ │ ├── poise.rb
│ │ │ └── poise
│ │ │ ├── backports.rb
│ │ │ ├── backports
│ │ │ ├── not_passed.rb
│ │ │ └── verify_path.rb
│ │ │ ├── error.rb
│ │ │ ├── helpers.rb
│ │ │ ├── helpers
│ │ │ ├── chefspec_matchers.rb
│ │ │ ├── defined_in.rb
│ │ │ ├── fused.rb
│ │ │ ├── include_recipe.rb
│ │ │ ├── inversion.rb
│ │ │ ├── inversion
│ │ │ │ ├── options_provider.rb
│ │ │ │ └── options_resource.rb
│ │ │ ├── lazy_default.rb
│ │ │ ├── lwrp_polyfill.rb
│ │ │ ├── notifying_block.rb
│ │ │ ├── option_collector.rb
│ │ │ ├── resource_cloning.rb
│ │ │ ├── resource_name.rb
│ │ │ ├── resource_subclass.rb
│ │ │ ├── subcontext_block.rb
│ │ │ ├── subresources.rb
│ │ │ ├── subresources
│ │ │ │ ├── child.rb
│ │ │ │ ├── container.rb
│ │ │ │ └── default_containers.rb
│ │ │ ├── template_content.rb
│ │ │ └── win32_user.rb
│ │ │ ├── provider.rb
│ │ │ ├── resource.rb
│ │ │ ├── subcontext.rb
│ │ │ ├── subcontext
│ │ │ ├── resource_collection.rb
│ │ │ └── runner.rb
│ │ │ ├── utils.rb
│ │ │ ├── utils
│ │ │ ├── resource_provider_mixin.rb
│ │ │ ├── shell_out.rb
│ │ │ └── win32.rb
│ │ │ └── version.rb
│ ├── libraries
│ │ └── default.rb
│ └── metadata.json
├── postfix
│ ├── CHANGELOG.md
│ ├── CONTRIBUTING.md
│ ├── README.md
│ ├── attributes
│ │ └── default.rb
│ ├── metadata.json
│ ├── recipes
│ │ ├── _attributes.rb
│ │ ├── _common.rb
│ │ ├── access.rb
│ │ ├── aliases.rb
│ │ ├── client.rb
│ │ ├── default.rb
│ │ ├── maps.rb
│ │ ├── relay_restrictions.rb
│ │ ├── sasl_auth.rb
│ │ ├── server.rb
│ │ ├── transports.rb
│ │ ├── virtual_aliases.rb
│ │ └── virtual_aliases_domains.rb
│ └── templates
│ │ ├── .DS_Store
│ │ ├── access.erb
│ │ ├── aliases.erb
│ │ ├── mailer.erb
│ │ ├── main.cf.erb
│ │ ├── manifest-postfix.xml.erb
│ │ ├── maps.erb
│ │ ├── master.cf.erb
│ │ ├── port_smtp.erb
│ │ ├── recipient_canonical.erb
│ │ ├── relay_restrictions.erb
│ │ ├── sasl_passwd.erb
│ │ ├── sender_canonical.erb
│ │ ├── smtp_generic.erb
│ │ ├── transport.erb
│ │ ├── virtual_aliases.erb
│ │ └── virtual_aliases_domains.erb
├── redisio
│ ├── .foodcritic
│ ├── CONTRIBUTING.md
│ ├── README.md
│ ├── attributes
│ │ ├── default.rb
│ │ ├── redis_gem.rb
│ │ └── redis_sentinel.rb
│ ├── libraries
│ │ ├── matchers.rb
│ │ └── redisio.rb
│ ├── metadata.json
│ ├── providers
│ │ ├── configure.rb
│ │ ├── install.rb
│ │ └── sentinel.rb
│ ├── recipes
│ │ ├── _install_prereqs.rb
│ │ ├── configure.rb
│ │ ├── default.rb
│ │ ├── disable.rb
│ │ ├── disable_os_default.rb
│ │ ├── enable.rb
│ │ ├── install.rb
│ │ ├── redis_gem.rb
│ │ ├── sentinel.rb
│ │ └── sentinel_enable.rb
│ ├── resources
│ │ ├── configure.rb
│ │ ├── install.rb
│ │ └── sentinel.rb
│ └── templates
│ │ └── default
│ │ ├── redis-sentinel@.service
│ │ ├── redis.conf.erb
│ │ ├── redis.init.erb
│ │ ├── redis.rcinit.erb
│ │ ├── redis.upstart.conf.erb
│ │ ├── redis@.service.erb
│ │ ├── sentinel.conf.erb
│ │ ├── sentinel.init.erb
│ │ ├── sentinel.rcinit.erb
│ │ └── sentinel.upstart.conf.erb
├── runit
│ ├── .kitchen.cloud.yml
│ ├── .kitchen.yml
│ ├── .rspec
│ ├── .rubocop.yml
│ ├── Berksfile.disabled
│ ├── CHANGELOG.md
│ ├── CONTRIBUTING.md
│ ├── Cheffile
│ ├── Gemfile
│ ├── LICENSE
│ ├── README.md
│ ├── Rakefile
│ ├── TESTING.md
│ ├── attributes
│ │ └── default.rb
│ ├── files
│ │ ├── default
│ │ │ ├── runit.seed
│ │ │ └── runsvdir
│ │ ├── ubuntu-6.10
│ │ │ └── runsvdir
│ │ ├── ubuntu-7.04
│ │ │ └── runsvdir
│ │ ├── ubuntu-7.10
│ │ │ └── runsvdir
│ │ └── ubuntu-8.04
│ │ │ └── runsvdir
│ ├── libraries
│ │ ├── default.rb
│ │ ├── helpers.rb
│ │ ├── matchers.rb
│ │ ├── provider_runit_service.rb
│ │ └── resource_runit_service.rb
│ ├── metadata.json
│ ├── recipes
│ │ └── default.rb
│ └── templates
│ │ ├── debian
│ │ └── init.d.erb
│ │ ├── default
│ │ └── log-config.erb
│ │ └── gentoo
│ │ └── runit-start.sh.erb
├── selinux_policy
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── libraries
│ │ └── helpers.rb
│ ├── metadata.json
│ ├── recipes
│ │ ├── default.rb
│ │ └── install.rb
│ └── resources
│ │ ├── boolean.rb
│ │ ├── fcontext.rb
│ │ ├── install.rb
│ │ ├── module.rb
│ │ ├── permissive.rb
│ │ └── port.rb
├── seven_zip
│ ├── Gemfile
│ ├── Gemfile.lock
│ ├── LICENSE
│ ├── README.md
│ ├── appveyor.yml
│ ├── attributes
│ │ └── default.rb
│ ├── chefignore
│ ├── libraries
│ │ └── matchers.rb
│ ├── metadata.json
│ ├── providers
│ │ └── archive.rb
│ ├── rakefile.rb
│ ├── recipes
│ │ └── default.rb
│ ├── resources
│ │ ├── archive.rb
│ │ └── tool.rb
│ ├── spec
│ │ ├── default_spec.rb
│ │ └── spec_helper.rb
│ └── test
│ │ ├── fixtures
│ │ └── cookbooks
│ │ │ └── test_archive
│ │ │ ├── attributes
│ │ │ └── default.rb
│ │ │ ├── metadata.rb
│ │ │ └── recipes
│ │ │ └── default.rb
│ │ └── integration
│ │ ├── default
│ │ └── serverspec
│ │ │ └── default_spec.rb
│ │ └── helpers
│ │ └── serverspec
│ │ └── spec_helper.rb
├── ulimit
│ ├── .foodcritic
│ ├── CHANGELOG.md
│ ├── README.md
│ ├── attributes
│ │ └── default.rb
│ ├── files
│ │ └── sudo
│ ├── libraries
│ │ ├── domain.rb
│ │ ├── rule.rb
│ │ └── user.rb
│ ├── metadata.json
│ ├── recipes
│ │ └── default.rb
│ └── templates
│ │ ├── domain.erb
│ │ ├── su.erb
│ │ └── ulimit.erb
├── windows
│ ├── CHANGELOG.md
│ ├── CONTRIBUTING.md
│ ├── README.md
│ ├── libraries
│ │ ├── powershell_helper.rb
│ │ ├── registry_helper.rb
│ │ ├── version.rb
│ │ ├── version_helper.rb
│ │ ├── windows_helper.rb
│ │ ├── windows_privileged.rb
│ │ └── wmi_helper.rb
│ ├── metadata.json
│ ├── providers
│ │ └── dns.rb
│ ├── recipes
│ │ └── default.rb
│ └── resources
│ │ ├── auto_run.rb
│ │ ├── certificate.rb
│ │ ├── certificate_binding.rb
│ │ ├── dns.rb
│ │ ├── feature.rb
│ │ ├── feature_dism.rb
│ │ ├── feature_powershell.rb
│ │ ├── font.rb
│ │ ├── http_acl.rb
│ │ ├── pagefile.rb
│ │ ├── printer.rb
│ │ ├── printer_port.rb
│ │ ├── share.rb
│ │ ├── shortcut.rb
│ │ ├── user_privilege.rb
│ │ └── zipfile.rb
├── yum-epel
│ ├── CHANGELOG.md
│ ├── CONTRIBUTING.md
│ ├── README.md
│ ├── attributes
│ │ ├── default.rb
│ │ ├── epel-debuginfo.rb
│ │ ├── epel-source.rb
│ │ ├── epel-testing-debuginfo.rb
│ │ ├── epel-testing-source.rb
│ │ ├── epel-testing.rb
│ │ └── epel.rb
│ ├── metadata.json
│ └── recipes
│ │ └── default.rb
└── yum
│ ├── CHANGELOG.md
│ ├── CONTRIBUTING.md
│ ├── MAINTAINERS.md
│ ├── README.md
│ ├── attributes
│ └── main.rb
│ ├── libraries
│ └── matchers.rb
│ ├── metadata.json
│ ├── providers
│ ├── globalconfig.rb
│ └── repository.rb
│ ├── recipes
│ ├── default.rb
│ └── dnf_yum_compat.rb
│ ├── resources
│ ├── globalconfig.rb
│ └── repository.rb
│ └── templates
│ └── default
│ ├── main.erb
│ └── repo.erb
├── cookbooks
└── vagrant_main
│ ├── README.md
│ ├── attributes
│ └── default.rb
│ ├── files
│ └── default
│ │ └── phpmyadmin.deb.conf
│ ├── metadata.rb
│ ├── recipes
│ ├── default.rb
│ ├── magento.rb
│ ├── nodejs.rb
│ └── wordpress.rb
│ └── templates
│ └── default
│ ├── innodb.conf.erb
│ ├── web_app.conf.erb
│ ├── webgrind.conf.erb
│ └── webgrind.config.php.erb
├── data_bags
└── sites
│ └── local.json
└── nodes
└── .gitkeep
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | * text=auto
3 |
4 | # Custom for Visual Studio
5 | *.cs diff=csharp
6 | *.sln merge=union
7 | *.csproj merge=union
8 | *.vbproj merge=union
9 | *.fsproj merge=union
10 | *.dbproj merge=union
11 |
12 | # Standard to msysgit
13 | *.doc diff=astextplain
14 | *.DOC diff=astextplain
15 | *.docx diff=astextplain
16 | *.DOCX diff=astextplain
17 | *.dot diff=astextplain
18 | *.DOT diff=astextplain
19 | *.pdf diff=astextplain
20 | *.PDF diff=astextplain
21 | *.rtf diff=astextplain
22 | *.RTF diff=astextplain
23 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .vagrant
2 | /data_bags/sites/*
3 | !/data_bags/sites/local.json
4 | /public
5 | !/public/local.test
6 | /nodes/*
7 | !/nodes/.gitkeep
8 |
--------------------------------------------------------------------------------
/Berksfile:
--------------------------------------------------------------------------------
1 | source "https://supermarket.getchef.com"
2 |
3 | cookbook 'apache2', '~> 5.2.1'
4 | cookbook 'apt', '~> 7.1.1'
5 | cookbook 'build-essential', '~> 8.2.1'
6 | cookbook 'composer', '~> 2.6.1'
7 | cookbook 'git', '~> 9.0.1'
8 | cookbook 'magento-toolbox', '~> 0.0.3'
9 | cookbook 'mailhog', '~> 0.2.0'
10 | cookbook 'mysql', '~> 8.5.1'
11 | cookbook 'nodejs', '~> 6.0.0'
12 | cookbook 'percona', '~> 0.16.1'
13 | cookbook 'phing', '~> 0.0.3'
14 | cookbook 'php', '~> 6.1.1'
15 | cookbook 'poise-python', '~> 1.7.0'
16 | cookbook 'postfix', '~> 5.3.1'
17 | cookbook 'redisio', '~> 3.0.0'
18 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/.foodcritic:
--------------------------------------------------------------------------------
1 | ~FC015
2 | ~FC009
3 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/attributes/mod_auth_cas.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Attributes:: mod_auth_cas
4 | #
5 | # Copyright:: 2013, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | default['apache']['mod_auth_cas']['from_source'] = false
21 | default['apache']['mod_auth_cas']['source_revision'] = 'v1.0.9.1'
22 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_access_compat.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_access_compat
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'access_compat'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_actions.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_actions
4 | #
5 | # Copyright:: 2008-2017, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'actions' do
21 | conf true
22 | end
23 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_alias.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_alias
4 | #
5 | # Copyright:: 2008-2017, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'alias' do
21 | conf true
22 | end
23 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_allowmethods.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_allowmethods
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'allowmethods'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_asis.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_asis
4 | #
5 | # Copyright:: 2008-2009, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'asis'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_auth_basic.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_auth_basic
4 | #
5 | # Copyright:: 2008-2017, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'auth_basic'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_auth_digest.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_auth_digest
4 | #
5 | # Copyright:: 2008-2017, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'auth_digest'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_auth_form.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_auth_form
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'auth_form'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_authn_anon.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_authn_anon
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'authn_anon'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_authn_core.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_authn_core
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'authn_core'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_authn_dbd.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_authn_dbd
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'authn_dbd'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_authn_dbm.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_authn_dbm
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'authn_dbm'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_authn_file.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_authn_file
4 | #
5 | # Copyright:: 2008-2017, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'authn_file'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_authn_socache.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_authn_socache
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'authn_socache'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_authnz_fcgi.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_authnz_fcgi
4 | #
5 | # Copyright:: 2016, Alexander van Zoest
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'authnz_fcgi'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_authnz_ldap.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_authnz_ldap
4 | #
5 | # Copyright:: 2008-2017, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | include_recipe 'apache2::mod_ldap'
21 |
22 | apache_module 'authnz_ldap'
23 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_authz_core.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_authz_core
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'authz_core'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_authz_dbd.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_authz_dbd
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'authz_dbd'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_authz_dbm.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_authz_dbm
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'authz_dbm'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_authz_groupfile.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_authz_groupfile
4 | #
5 | # Copyright:: 2008-2017, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'authz_groupfile'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_authz_host.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_authz_host
4 | #
5 | # Copyright:: 2008-2017, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'authz_host'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_authz_owner.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_authz_owner
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'authz_owner'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_authz_user.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_authz_user
4 | #
5 | # Copyright:: 2008-2017, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'authz_user'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_autoindex.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_autoindex
4 | #
5 | # Copyright:: 2008-2017, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'autoindex' do
21 | conf true
22 | end
23 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_buffer.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_buffer
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'buffer'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_cache.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_cache
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'cache'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_cache_disk.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_cache_disk
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | include_recipe 'apache2::mod_cache'
21 |
22 | apache_module 'cache_disk' do
23 | conf true
24 | end
25 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_cache_socache.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_cache_socache
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | include_recipe 'apache2::mod_cache'
21 |
22 | apache_module 'cache_socache'
23 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_cern_meta.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_cern_meta
4 | #
5 | # Copyright:: 2016, Alexander van Zoest
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'cern_meta'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_cgid.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_cgid
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | # Copyright:: 2014, Viverae, Inc.
7 | #
8 | # Licensed under the Apache License, Version 2.0 (the "License");
9 | # you may not use this file except in compliance with the License.
10 | # You may obtain a copy of the License at
11 | #
12 | # http://www.apache.org/licenses/LICENSE-2.0
13 | #
14 | # Unless required by applicable law or agreed to in writing, software
15 | # distributed under the License is distributed on an "AS IS" BASIS,
16 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 | # See the License for the specific language governing permissions and
18 | # limitations under the License.
19 | #
20 |
21 | apache_module 'cgid' do
22 | conf true
23 | end
24 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_charset_lite.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_charset_lite
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'charset_lite'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_data.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_data
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'data'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_dav.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_dav
4 | #
5 | # Copyright:: 2008-2017, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'dav'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_dav_fs.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_dav_fs
4 | #
5 | # Copyright:: 2011-2013, Atriso
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | include_recipe 'apache2::mod_dav'
21 | apache_module 'dav_fs' do
22 | conf true
23 | end
24 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_dav_lock.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_dav_lock
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | include_recipe 'apache2::mod_dav'
21 | apache_module 'dav_lock'
22 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_dbd.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_dbd
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'dbd'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_deflate.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_deflate
4 | #
5 | # Copyright:: 2008-2017, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'deflate' do
21 | conf true
22 | end
23 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_dialup.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_dialup
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'dialup'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_dir.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_dir
4 | #
5 | # Copyright:: 2008-2017, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'dir' do
21 | conf true
22 | end
23 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_dump_io.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_dump_io
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'dumpio'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_echo.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_echo
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'echo'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_env.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_env
4 | #
5 | # Copyright:: 2008-2017, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'env'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_expires.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_expires
4 | #
5 | # Copyright:: 2008-2017, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'expires'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_ext_filter.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_ext_filter
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'ext_filter'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_file_cache.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_file_cache
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'file_cache'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_filter.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_filter
4 | #
5 | # Copyright:: 2008-2017, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'filter'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_headers.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_headers
4 | #
5 | # Copyright:: 2008-2017, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'headers' do
21 | restart true
22 | end
23 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_heartbeat.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_heartbeat
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'heartbeat'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_heartmonitor.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_heartmonitor
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'heartmonitor'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_http2.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_http2
4 | #
5 | # Copyright:: 2016, Alexander van Zoest
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'http2'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_ident.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_ident
4 | #
5 | # Copyright:: 2016, Alexander van Zoest
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'ident'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_include.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_include
4 | #
5 | # Copyright:: 2012-2013, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'include' do
21 | conf true
22 | end
23 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_info.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_info
4 | #
5 | # Copyright:: 2013, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'info' do
21 | conf true
22 | end
23 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_lbmethod_bybusyness.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_lbmethod_bybusyness
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'lbmethod_bybusyness'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_lbmethod_byrequests.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_lbmethod_byrequests
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'lbmethod_byrequests'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_lbmethod_bytraffic.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_lbmethod_bytraffic
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'lbmethod_bytraffic'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_lbmethod_heartbeat.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_lbmethod_heartbeat
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'lbmethod_heartbeat'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_ldap.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_ldap
4 | #
5 | # Copyright:: 2008-2017, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 | package 'mod_ldap' if platform_family?('rhel', 'fedora', 'amazon')
20 |
21 | apache_module 'ldap' do
22 | conf true
23 | end
24 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_log_config.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_log_config
4 | #
5 | # Copyright:: 2008-2017, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | if platform_family?('rhel', 'fedora', 'suse', 'arch', 'freebsd', 'amazon')
21 | apache_module 'log_config'
22 | else
23 | include_recipe 'apache2::default'
24 | end
25 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_log_debug.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_log_debug
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'log_debug'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_log_forensic.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_log_forensic
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'log_forensic'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_lua.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_lua
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'lua'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_macro.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_macro
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'macro'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_mime.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_mime
4 | #
5 | # Copyright:: 2008-2017, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'mime' do
21 | conf true
22 | end
23 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_mime_magic.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_mime_magic
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'mime_magic' do
21 | conf true
22 | end
23 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_negotiation.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_negotiation
4 | #
5 | # Copyright:: 2008-2017, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'negotiation' do
21 | conf true
22 | end
23 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_proxy.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_proxy
4 | #
5 | # Copyright:: 2008-2017, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'proxy' do
21 | conf true
22 | end
23 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_proxy_ajp.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_proxy_ajp
4 | #
5 | # Copyright:: 2008-2017, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | include_recipe 'apache2::mod_proxy'
21 | apache_module 'proxy_ajp'
22 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_proxy_connect.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_proxy_connect
4 | #
5 | # Copyright:: 2008-2017, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'proxy_connect'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_proxy_express.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_proxy_express
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'proxy_express'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_proxy_fcgi.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_proxy_fcgi
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'proxy_fcgi'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_proxy_fdpass.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_proxy_fdpass
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'proxy_fdpass'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_proxy_ftp.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_proxy_ftp
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'proxy_ftp' do
21 | conf true
22 | end
23 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_proxy_html.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_proxy_html
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | # Copyright:: 2015, Alexander van Zoest
7 | #
8 | # Licensed under the Apache License, Version 2.0 (the "License");
9 | # you may not use this file except in compliance with the License.
10 | # You may obtain a copy of the License at
11 | #
12 | # http://www.apache.org/licenses/LICENSE-2.0
13 | #
14 | # Unless required by applicable law or agreed to in writing, software
15 | # distributed under the License is distributed on an "AS IS" BASIS,
16 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 | # See the License for the specific language governing permissions and
18 | # limitations under the License.
19 | #
20 |
21 | apache_module 'proxy_html'
22 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_proxy_http.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_proxy_http
4 | #
5 | # Copyright:: 2008-2017, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | include_recipe 'apache2::mod_proxy'
21 |
22 | apache_module 'proxy_http'
23 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_proxy_scgi.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_proxy_scgi
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'proxy_scgi'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_proxy_wstunnel.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_proxy_wstunnel
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'proxy_wstunnel'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_ratelimit.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_ratelimit
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'ratelimit'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_reflector.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_reflector
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'reflector'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_remoteip.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_remoteip
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'remoteip'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_reqtimeout.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_reqtimeout
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'reqtimeout' do
21 | conf true
22 | end
23 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_request.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_request
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'request'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_rewrite.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_rewrite
4 | #
5 | # Copyright:: 2008-2017, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'rewrite'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_sed.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_sed
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'sed'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_session.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_session
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'session'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_session_cookie.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_session_cookie
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'session_cookie'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_session_crypto.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_session_crypto
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'session_crypto'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_session_dbd.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_session_dbd
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'session_dbd'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_setenvif.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_setenvif
4 | #
5 | # Copyright:: 2008-2017, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'setenvif' do
21 | conf true
22 | end
23 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_slotmem_plain.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_slotmem_plain
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'slotmem_plain'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_slotmem_shm.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_slotmem_shm
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'slotmem_shm'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_socache_dbm.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_socache_dbm
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'socache_dbm'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_socache_dc.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_socache_dc
4 | #
5 | # Copyright:: 2016, Alexander van Zoest
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'socache_dc'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_socache_memcache.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_socache_memcache
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'socache_memcache'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_socache_shmcb.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_socache_shmcb
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'socache_shmcb'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_speling.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_speling
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'speling'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_status.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_status
4 | #
5 | # Copyright:: 2008-2012, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'status' do
21 | conf true
22 | end
23 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_substitute.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_substitute
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'substitute'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_suexec.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_suexec
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'suexec'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_systemd.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_systemd
4 | #
5 | # Copyright:: 2008-2017, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'systemd'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_unique_id.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_unique_id
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'unique_id'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_userdir.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_userdir
4 | #
5 | # Copyright:: 2013, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'userdir' do
21 | conf true
22 | end
23 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_usertrack.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_usertrack
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'usertrack'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_version.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_version
4 | #
5 | # Copyright:: 2016, Alexander van Zoest
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'version'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_vhost_alias.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_vhost_alias
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'vhost_alias'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/recipes/mod_xml2enc.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: apache2
3 | # Recipe:: mod_xml2enc
4 | #
5 | # Copyright:: 2013, OneHealth Solutions, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | apache_module 'xml2enc'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/templates/default/charset.conf.erb:
--------------------------------------------------------------------------------
1 | # Read the documentation before enabling AddDefaultCharset.
2 | # In general, it is only a good idea if you know that all your files
3 | # have this encoding. It will override any encoding given in the files
4 | # in meta http-equiv or xml encoding tags.
5 |
6 | #AddDefaultCharset UTF-8
7 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/templates/default/mods/README:
--------------------------------------------------------------------------------
1 | These configs are taken from a Debian apache2.2-common 2.2.11-3 install. They
2 | work on CentOS 5.3 with a few conditions using erb.
3 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/templates/default/mods/actions.conf.erb:
--------------------------------------------------------------------------------
1 |
2 | #
3 | # Action lets you define media types that will execute a script whenever
4 | # a matching file is called. This eliminates the need for repeated URL
5 | # pathnames for oft-used CGI file processors.
6 | # Format: Action media/type /cgi-script/location
7 | # Format: Action handler-name /cgi-script/location
8 | #
9 |
10 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/templates/default/mods/auth_cas.conf.erb:
--------------------------------------------------------------------------------
1 | CASCookiePath <%= node['apache']['cache_dir'] %>/mod_auth_cas/
2 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/templates/default/mods/auth_cas.load.erb:
--------------------------------------------------------------------------------
1 | LoadModule auth_cas_module <%= node['apache']['libexec_dir'] %>/mod_auth_cas.so
2 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/templates/default/mods/authopenid.load.erb:
--------------------------------------------------------------------------------
1 | LoadModule authopenid_module <%= node['apache']['libexec_dir'] %>/mod_auth_openid.so
2 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/templates/default/mods/cgid.conf.erb:
--------------------------------------------------------------------------------
1 | # Socket for cgid communication
2 | #
3 | ScriptSock <%= node['apache']['run_dir'] %>/cgisock
4 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/templates/default/mods/dav_fs.conf.erb:
--------------------------------------------------------------------------------
1 | DAVLockDB <%= node['apache']['lock_dir'] %>/DAVLock
2 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/templates/default/mods/dir.conf.erb:
--------------------------------------------------------------------------------
1 |
2 | DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm
3 |
4 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/templates/default/mods/fastcgi.conf.erb:
--------------------------------------------------------------------------------
1 |
2 | AddHandler fastcgi-script .fcgi
3 | #FastCgiWrapper /usr/lib/apache2/suexec
4 | FastCgiIpcDir <%= "#{node['apache']['lib_dir']}/fastcgi" %>
5 |
6 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/templates/default/mods/fcgid.conf.erb:
--------------------------------------------------------------------------------
1 |
2 | AddHandler fcgid-script .fcgi
3 | IPCConnectTimeout 20
4 |
5 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/templates/default/mods/include.conf.erb:
--------------------------------------------------------------------------------
1 |
2 | AddType text/html .shtml
3 | AddOutputFilter INCLUDES .shtml
4 |
5 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/templates/default/mods/include.erb:
--------------------------------------------------------------------------------
1 |
2 | AddType text/html .shtml
3 | AddOutputFilter INCLUDES .shtml
4 |
5 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/templates/default/mods/info.conf.erb:
--------------------------------------------------------------------------------
1 |
2 | #
3 | # Allow server info reports generated by mod_info,
4 | # with the URL of http://servername/server-info
5 | # Uncomment and change the ".example.com" to allow
6 | # access from other hosts.
7 | #
8 |
9 | SetHandler server-info
10 | Require local
11 | Require ip <%= node['apache']['info_allow_list'] %>
12 |
13 |
14 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/templates/default/mods/ldap.conf.erb:
--------------------------------------------------------------------------------
1 |
2 | SetHandler ldap-status
3 | Require local
4 |
5 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/templates/default/mods/mime_magic.conf.erb:
--------------------------------------------------------------------------------
1 |
2 | MIMEMagicFile <%= @apache_dir %>/magic
3 |
4 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/templates/default/mods/negotiation.conf.erb:
--------------------------------------------------------------------------------
1 |
2 | #
3 | # LanguagePriority allows you to give precedence to some languages
4 | # in case of a tie during content negotiation.
5 | #
6 | # Just list the languages in decreasing order of preference. We have
7 | # more or less alphabetized them here. You probably want to change this.
8 | #
9 | LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv tr zh-CN zh-TW
10 |
11 | #
12 | # ForceLanguagePriority allows you to serve a result page rather than
13 | # MULTIPLE CHOICES (Prefer) [in case of a tie] or NOT ACCEPTABLE (Fallback)
14 | # [in case no accepted languages matched the available variants]
15 | #
16 | ForceLanguagePriority Prefer Fallback
17 |
18 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/templates/default/mods/proxy.conf.erb:
--------------------------------------------------------------------------------
1 |
2 | #turning ProxyRequests on and allowing proxying from all may allow
3 | #spammers to use your proxy to send email.
4 |
5 | ProxyRequests Off
6 |
7 |
8 | AddDefaultCharset off
9 | Require <%= node['apache']['proxy']['require'] %>
10 |
11 |
12 | # Enable/disable the handling of HTTP/1.1 "Via:" headers.
13 | # ("Full" adds the server version; "Block" removes all outgoing Via: headers)
14 | # Set to one of: Off | On | Full | Block
15 |
16 | ProxyVia On
17 |
18 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/templates/default/mods/proxy_balancer.conf.erb:
--------------------------------------------------------------------------------
1 |
2 | # Balancer manager enables dynamic update of balancer members
3 | # (needs mod_status). Uncomment to enable.
4 | #
5 | #
6 | #
7 | # SetHandler balancer-manager
8 | <% if node['apache']['version'] == '2.4' -%>
9 | # Require local
10 | <% else -%>
11 | # Order deny,allow
12 | # Deny from all
13 | # Allow from 127.0.0.1 ::1
14 | # Satisfy all
15 | <% end -%>
16 | #
17 | #
18 |
19 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/templates/default/mods/proxy_ftp.conf.erb:
--------------------------------------------------------------------------------
1 |
2 | # Define the character set for proxied FTP listings. Default is ISO-8859-1
3 | ProxyFtpDirCharset UTF-8
4 |
5 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/templates/default/mods/userdir.conf.erb:
--------------------------------------------------------------------------------
1 |
2 | UserDir public_html
3 | UserDir disabled root
4 |
5 |
6 | AllowOverride FileInfo AuthConfig Limit Indexes
7 | Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
8 |
9 | Require all granted
10 |
11 |
12 | Require all denied
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/templates/default/port_apache.erb:
--------------------------------------------------------------------------------
1 | <% node['apache']['listen'].values.map(&:to_a).flatten.uniq do |port| -%>
2 | -A FWR -p tcp -m tcp --dport <%= port %> -j ACCEPT
3 | <% end %>
4 |
--------------------------------------------------------------------------------
/berks-cookbooks/apache2/templates/default/ports.conf.erb:
--------------------------------------------------------------------------------
1 | # This file was generated by Chef for <%= node['fqdn'] %>.
2 | # Do NOT modify this file by hand!
3 |
4 | <% Apache2::Listen.merge_listen_attributes(node).each do |addr| -%>
5 | Listen <%= addr %>
6 | <% end -%>
7 |
--------------------------------------------------------------------------------
/berks-cookbooks/apt/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | Please refer to
2 | https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD
3 |
--------------------------------------------------------------------------------
/berks-cookbooks/apt/files/15update-stamp:
--------------------------------------------------------------------------------
1 | APT::Update::Post-Invoke-Success {"touch /var/lib/apt/periodic/update-success-stamp 2>/dev/null || true";};
2 |
--------------------------------------------------------------------------------
/berks-cookbooks/apt/templates/01proxy.erb:
--------------------------------------------------------------------------------
1 | Acquire::http::Proxy "http://<%= @server['host'] %>:<%= @server['port'] %>";
2 | <% if @server['proxy_ssl'] %>
3 | Acquire::https::Proxy "http://<%= @server['host'] %>:<%= @server['port'] %>";
4 | <% else %>
5 | Acquire::https::Proxy "DIRECT";
6 | <% end %>
7 | <% unless @server['cache_bypass'].nil? %>
8 | <% @server['cache_bypass'].each do |bypass, type| %>
9 | Acquire::<%= type %>::Proxy::<%= bypass %> "DIRECT";
10 | <% end %>
11 | <% end %>
12 |
--------------------------------------------------------------------------------
/berks-cookbooks/apt/templates/10dpkg-options.erb:
--------------------------------------------------------------------------------
1 | # Managed by Chef
2 | DPkg::Options {
3 | <%= node['apt']['confd']['force_confask'] ? '"--force-confask";' : '' -%>
4 | <%= node['apt']['confd']['force_confdef'] ? '"--force-confdef";' : '' -%>
5 | <%= node['apt']['confd']['force_confmiss'] ? '"--force-confmiss";' : '' -%>
6 | <%= node['apt']['confd']['force_confnew'] ? '"--force-confnew";' : '' -%>
7 | <%= node['apt']['confd']['force_confold'] ? '"--force-confold";' : '' -%>
8 | }
9 |
--------------------------------------------------------------------------------
/berks-cookbooks/apt/templates/10recommends.erb:
--------------------------------------------------------------------------------
1 | # Managed by Chef
2 | APT::Install-Recommends "<%= node['apt']['confd']['install_recommends'] ? 1 : 0 %>";
3 | APT::Install-Suggests "<%= node['apt']['confd']['install_suggests'] ? 1 : 0 %>";
4 |
--------------------------------------------------------------------------------
/berks-cookbooks/apt/templates/20auto-upgrades.erb:
--------------------------------------------------------------------------------
1 | APT::Periodic::Update-Package-Lists "<%= node['apt']['unattended_upgrades']['update_package_lists'] ? 1 : 0 %>";
2 | APT::Periodic::Unattended-Upgrade "<%= node['apt']['unattended_upgrades']['enable'] ? 1 : 0 %>";
3 | <% if node['apt']['unattended_upgrades']['random_sleep'] -%>
4 | APT::Periodic::RandomSleep "<%= node['apt']['unattended_upgrades']['random_sleep'] %>";
5 | <% end -%>
6 |
--------------------------------------------------------------------------------
/berks-cookbooks/apt/templates/unattended-upgrades.seed.erb:
--------------------------------------------------------------------------------
1 | unattended-upgrades unattended-upgrades/enable_auto_updates boolean <%= node['apt']['unattended_upgrades']['enable'] ? 'true' : 'false' %>
2 |
--------------------------------------------------------------------------------
/berks-cookbooks/ark/.foodcritic:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/r8/vagrant-lamp/92c765a7b189a7fc285671ac7bc13f126d187d6c/berks-cookbooks/ark/.foodcritic
--------------------------------------------------------------------------------
/berks-cookbooks/ark/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | Please refer to
2 | https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD
3 |
--------------------------------------------------------------------------------
/berks-cookbooks/ark/files/default/foo.tar.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/r8/vagrant-lamp/92c765a7b189a7fc285671ac7bc13f126d187d6c/berks-cookbooks/ark/files/default/foo.tar.gz
--------------------------------------------------------------------------------
/berks-cookbooks/ark/files/default/foo.tbz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/r8/vagrant-lamp/92c765a7b189a7fc285671ac7bc13f126d187d6c/berks-cookbooks/ark/files/default/foo.tbz
--------------------------------------------------------------------------------
/berks-cookbooks/ark/files/default/foo.tgz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/r8/vagrant-lamp/92c765a7b189a7fc285671ac7bc13f126d187d6c/berks-cookbooks/ark/files/default/foo.tgz
--------------------------------------------------------------------------------
/berks-cookbooks/ark/files/default/foo.txz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/r8/vagrant-lamp/92c765a7b189a7fc285671ac7bc13f126d187d6c/berks-cookbooks/ark/files/default/foo.txz
--------------------------------------------------------------------------------
/berks-cookbooks/ark/files/default/foo.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/r8/vagrant-lamp/92c765a7b189a7fc285671ac7bc13f126d187d6c/berks-cookbooks/ark/files/default/foo.zip
--------------------------------------------------------------------------------
/berks-cookbooks/ark/files/default/foo_sub.tar.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/r8/vagrant-lamp/92c765a7b189a7fc285671ac7bc13f126d187d6c/berks-cookbooks/ark/files/default/foo_sub.tar.gz
--------------------------------------------------------------------------------
/berks-cookbooks/ark/files/default/foo_sub.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/r8/vagrant-lamp/92c765a7b189a7fc285671ac7bc13f126d187d6c/berks-cookbooks/ark/files/default/foo_sub.zip
--------------------------------------------------------------------------------
/berks-cookbooks/ark/libraries/general_owner.rb:
--------------------------------------------------------------------------------
1 | module Ark
2 | class GeneralOwner
3 | def initialize(resource)
4 | @resource = resource
5 | end
6 |
7 | attr_reader :resource
8 |
9 | def command
10 | "chown -R #{resource.owner}:#{resource.group} #{resource.path}"
11 | end
12 | end
13 | end
14 |
--------------------------------------------------------------------------------
/berks-cookbooks/ark/libraries/platform_specific_builders.rb:
--------------------------------------------------------------------------------
1 | module Ark
2 | module PlatformSpecificBuilders
3 | def generates_archive_commands_for(_name, options)
4 | condition = options[:when_the]
5 | builder = options[:with_klass]
6 | archive_command_generators.push [condition, builder]
7 | end
8 |
9 | def archive_command_generators
10 | @archive_command_generators ||= []
11 | end
12 |
13 | def generates_owner_commands_for(_name, options)
14 | condition = options[:when_the]
15 | builder = options[:with_klass]
16 | owner_command_generators.push [condition, builder]
17 | end
18 |
19 | def owner_command_generators
20 | @owner_command_generators ||= []
21 | end
22 | end
23 | end
24 |
--------------------------------------------------------------------------------
/berks-cookbooks/ark/libraries/resource_deprecations.rb:
--------------------------------------------------------------------------------
1 | module Ark
2 | class ResourceDeprecations
3 | def self.on(resource)
4 | new(resource).warnings
5 | end
6 |
7 | def initialize(resource)
8 | @resource = resource
9 | end
10 |
11 | attr_reader :resource
12 |
13 | def warnings
14 | applicable_deprecrations.map { |_, message| message }
15 | end
16 |
17 | def applicable_deprecrations
18 | deprecations.select { |condition, _| send(condition) }
19 | end
20 |
21 | def deprecations
22 | { strip_leading_dir_feature: strip_leading_dir_feature_message }
23 | end
24 |
25 | def strip_leading_dir_feature
26 | [true, false].include?(resource.strip_leading_dir)
27 | end
28 |
29 | def strip_leading_dir_feature_message
30 | 'strip_leading_dir attribute was deprecated. Use strip_components instead.'
31 | end
32 | end
33 | end
34 |
--------------------------------------------------------------------------------
/berks-cookbooks/ark/libraries/windows_owner.rb:
--------------------------------------------------------------------------------
1 | module Ark
2 | class WindowsOwner
3 | def initialize(resource)
4 | @resource = resource
5 | end
6 |
7 | attr_reader :resource
8 |
9 | def command
10 | "#{ENV.fetch('SystemRoot')}\\System32\\icacls \"#{resource.path}\\*\" /setowner \"#{resource.owner}\""
11 | end
12 | end
13 | end
14 |
--------------------------------------------------------------------------------
/berks-cookbooks/ark/templates/add_to_path.sh.erb:
--------------------------------------------------------------------------------
1 | export PATH=<%= @directory -%>:$PATH
2 |
--------------------------------------------------------------------------------
/berks-cookbooks/build-essential/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | Please refer to
2 | https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD
3 |
--------------------------------------------------------------------------------
/berks-cookbooks/build-essential/attributes/default.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: build-essential
3 | # Attributes:: default
4 | #
5 | # Copyright:: 2008-2017, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | default['build-essential']['compile_time'] = false
21 | default['build-essential']['msys2']['path'] = "#{ENV['SYSTEMDRIVE']}\\msys2"
22 |
--------------------------------------------------------------------------------
/berks-cookbooks/chef-vault/.foodcritic:
--------------------------------------------------------------------------------
1 | ~FC070
2 | ~FC067
3 |
--------------------------------------------------------------------------------
/berks-cookbooks/chef-vault/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | Please refer to
2 | https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD
3 |
--------------------------------------------------------------------------------
/berks-cookbooks/chef-vault/recipes/default.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook Name:: chef-vault
3 | # Recipe:: default
4 | #
5 | # Author: Joshua Timberman
6 | #
7 | # Copyright (c) 2013-2016, Chef Software, Inc.
8 | #
9 | # Licensed under the Apache License, Version 2.0 (the "License");
10 | # you may not use this file except in compliance with the License.
11 | # You may obtain a copy of the License at
12 | #
13 | # http://www.apache.org/licenses/LICENSE-2.0
14 | #
15 | # Unless required by applicable law or agreed to in writing, software
16 | # distributed under the License is distributed on an "AS IS" BASIS,
17 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 | # See the License for the specific language governing permissions and
19 | # limitations under the License.
20 |
21 | # empty recipe for backwards compatability purposes
22 |
--------------------------------------------------------------------------------
/berks-cookbooks/composer/libraries/composer.rb:
--------------------------------------------------------------------------------
1 | # Composer module
2 | module Composer
3 | def self.install_dir(node)
4 | node['composer']['install_dir']
5 | end
6 |
7 | def self.home_dir(node)
8 | node['composer']['home_dir'] || install_dir(node)
9 | end
10 | end
11 |
--------------------------------------------------------------------------------
/berks-cookbooks/composer/recipes/default.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook Name:: composer
3 | # Recipe:: default
4 | #
5 | # Copyright (c) 2016, David Joos
6 | #
7 |
8 | include_recipe 'composer::install'
9 |
10 | if node['composer']['install_globally']
11 | include_recipe 'composer::global_configs'
12 | end
13 |
--------------------------------------------------------------------------------
/berks-cookbooks/composer/recipes/self_update.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook Name:: composer
3 | # Recipe:: self_update
4 | #
5 | # Copyright (c) 2016, David Joos
6 | #
7 |
8 | include_recipe 'composer::install'
9 |
10 | execute 'composer-self_update' do
11 | cwd node['composer']['install_dir']
12 | command 'composer self-update'
13 | environment 'COMPOSER_HOME' => Composer.home_dir(node)
14 | action :run
15 | ignore_failure true
16 | end
17 |
--------------------------------------------------------------------------------
/berks-cookbooks/git/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | Please refer to
2 | https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD
3 |
--------------------------------------------------------------------------------
/berks-cookbooks/git/libraries/provider_git_client.rb:
--------------------------------------------------------------------------------
1 | class Chef
2 | class Provider
3 | class GitClient < Chef::Provider::LWRPBase
4 | use_inline_resources # ~FC113
5 |
6 | def whyrun_supported?
7 | true
8 | end
9 |
10 | include GitCookbook::Helpers
11 | end
12 | end
13 | end
14 |
--------------------------------------------------------------------------------
/berks-cookbooks/git/libraries/provider_git_client_osx.rb:
--------------------------------------------------------------------------------
1 | class Chef
2 | class Provider
3 | class GitClient
4 | class Osx < Chef::Provider::GitClient
5 | provides :git_client, platform: 'mac_os_x'
6 |
7 | action :install do
8 | package 'git'
9 | end
10 |
11 | action :delete do
12 | end
13 | end
14 | end
15 | end
16 | end
17 |
--------------------------------------------------------------------------------
/berks-cookbooks/git/libraries/provider_git_client_package.rb:
--------------------------------------------------------------------------------
1 | class Chef
2 | class Provider
3 | class GitClient
4 | class Package < Chef::Provider::GitClient
5 | provides :git_client, os: 'linux'
6 |
7 | action :install do
8 | # Software installation
9 | package "#{new_resource.name} :create #{parsed_package_name}" do
10 | package_name parsed_package_name
11 | version parsed_package_version
12 | action new_resource.package_action
13 | action :install
14 | end
15 | end
16 |
17 | action :delete do
18 | end
19 | end
20 | end
21 | end
22 | end
23 |
--------------------------------------------------------------------------------
/berks-cookbooks/git/libraries/resource_git_service.rb:
--------------------------------------------------------------------------------
1 | require 'chef/resource/lwrp_base'
2 |
3 | class Chef
4 | class Resource
5 | class GitService < Chef::Resource::LWRPBase
6 | self.resource_name = :git_service
7 | actions :create
8 | default_action :create
9 |
10 | provides :git_service
11 |
12 | # used by the service xinetd provider
13 | attribute :service_base_path, kind_of: String, default: '/srv/git'
14 | end
15 | end
16 | end
17 |
--------------------------------------------------------------------------------
/berks-cookbooks/git/recipes/default.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: git
3 | # Recipe:: default
4 | #
5 | # Copyright:: 2008-2016, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 |
19 | include_recipe 'git::package'
20 |
--------------------------------------------------------------------------------
/berks-cookbooks/git/recipes/package.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: git
3 | # Recipe:: package
4 | #
5 | # Copyright:: 2008-2016, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 |
19 | case node['platform']
20 | when 'windows'
21 | include_recipe 'git::windows'
22 | else
23 | git_client 'default' do
24 | action :install
25 | end
26 | end
27 |
--------------------------------------------------------------------------------
/berks-cookbooks/git/recipes/server.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: git
3 | # Recipe:: server
4 | #
5 | # Copyright:: 2009-2016, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 |
19 | git_service 'default' do
20 | service_base_path node['git']['server']['base_path']
21 | action :create
22 | end
23 |
--------------------------------------------------------------------------------
/berks-cookbooks/git/templates/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/r8/vagrant-lamp/92c765a7b189a7fc285671ac7bc13f126d187d6c/berks-cookbooks/git/templates/.DS_Store
--------------------------------------------------------------------------------
/berks-cookbooks/git/templates/git-xinetd.d.erb:
--------------------------------------------------------------------------------
1 | service git
2 | {
3 | disable = no
4 | socket_type = stream
5 | wait = no
6 | user = nobody
7 | server = <%= @git_daemon_binary %>
8 | server_args = --base-path=<%= node["git"]["server"]["base_path"] %> <%= node['git']['server']['export_all'] ? '--export-all' : nil %> --syslog --inetd --verbose
9 | log_on_failure += USERID
10 | }
11 |
--------------------------------------------------------------------------------
/berks-cookbooks/magento-toolbox/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | v0.0.2
2 | ------
3 |
4 | * Repack cookbook
5 |
6 |
--------------------------------------------------------------------------------
/berks-cookbooks/magento-toolbox/README.md:
--------------------------------------------------------------------------------
1 | magento toolbox
2 | ===============
3 |
4 | This cookbook installs several tools for Magento developers.
5 |
6 | Requirements
7 | ------------
8 |
9 | ### Cookbooks:
10 |
11 | * php
12 |
13 | ### Platforms:
14 |
15 | * Ubuntu
16 | * Debian
17 | * RHEL
18 | * CentOS
19 | * Fedora
20 |
21 | Recipes
22 | -------
23 |
24 | ### magento-toolbox::n98-magerun
25 |
26 | Installs [n98-magerun](https://github.com/netz98/n98-magerun)
27 |
28 | ### magento-toolbox::modman
29 |
30 | Installs [modman](https://github.com/colinmollenhour/modman)
31 |
32 | ### magento-toolbox::modgit
33 |
34 | Installs [modgit](https://github.com/jreinke/modgit)
35 |
36 | License
37 | -------
38 |
39 | Copyright (c) 2013 Sergey Storchay, http://r8.com.ua
40 |
41 | Licensed under MIT:
42 | http://raw.github.com/r8/magento-toolbox/master/LICENSE.txt
43 |
--------------------------------------------------------------------------------
/berks-cookbooks/magento-toolbox/attributes/default.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook Name:: magento-toolbox
3 | # Attributes:: default
4 | #
5 | # Copyright 2013, Sergey Storchay
6 | #
7 | # Licensed under MIT:
8 | # http://raw.github.com/r8/magento-toolbox/master/LICENSE.txt
9 |
10 | default["n98-magerun"]["install_globally"] = true
11 | default["n98-magerun"]["prefix"] = "/usr/local"
12 |
13 | default["modman"]["install_globally"] = true
14 | default["modman"]["prefix"] = "/usr/local"
15 |
16 | default["modgit"]["install_globally"] = true
17 | default["modgit"]["prefix"] = "/usr/local"
18 |
--------------------------------------------------------------------------------
/berks-cookbooks/magento-toolbox/recipes/modgit.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook Name:: magento-toolbox
3 | # Recipe:: modgit
4 | #
5 | # Copyright 2013, Sergey Storchay
6 | #
7 | # Licensed under MIT:
8 | # http://raw.github.com/r8/magento-toolbox/master/LICENSE.txt
9 |
10 | package "curl" do
11 | action :upgrade
12 | end
13 |
14 | command = "curl -L -o modgit https://raw.github.com/jreinke/modgit/master/modgit && chmod +x ./modgit"
15 |
16 | bash "download_modgit" do
17 | cwd "#{Chef::Config[:file_cache_path]}"
18 | code <<-EOH
19 | #{command}
20 | EOH
21 | end
22 |
23 | if node["modgit"]["install_globally"]
24 | bash "move_modgit" do
25 | cwd "#{Chef::Config[:file_cache_path]}"
26 | code <<-EOH
27 | sudo mv modgit #{node["modgit"]["prefix"]}/bin/modgit
28 | EOH
29 | end
30 | end
31 |
--------------------------------------------------------------------------------
/berks-cookbooks/magento-toolbox/recipes/modman.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook Name:: magento-toolbox
3 | # Recipe:: modman
4 | #
5 | # Copyright 2013, Sergey Storchay
6 | #
7 | # Licensed under MIT:
8 | # http://raw.github.com/r8/magento-toolbox/master/LICENSE.txt
9 |
10 | package "curl" do
11 | action :upgrade
12 | end
13 |
14 | command = "curl -L -o modman https://raw.github.com/colinmollenhour/modman/master/modman && chmod +x ./modman"
15 |
16 | bash "download_modman" do
17 | cwd "#{Chef::Config[:file_cache_path]}"
18 | code <<-EOH
19 | #{command}
20 | EOH
21 | end
22 |
23 | if node["modman"]["install_globally"]
24 | bash "move_modman" do
25 | cwd "#{Chef::Config[:file_cache_path]}"
26 | code <<-EOH
27 | sudo mv modman #{node["modman"]["prefix"]}/bin/modman
28 | EOH
29 | end
30 | end
31 |
--------------------------------------------------------------------------------
/berks-cookbooks/magento-toolbox/recipes/n98-magerun.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook Name:: magento-toolbox
3 | # Recipe:: n98-magerun
4 | #
5 | # Copyright 2013, Sergey Storchay
6 | #
7 | # Licensed under MIT:
8 | # http://raw.github.com/r8/magento-toolbox/master/LICENSE.txt
9 |
10 | include_recipe "php"
11 |
12 | package "curl" do
13 | action :upgrade
14 | end
15 |
16 | command = "curl -L -o n98-magerun.phar https://raw.github.com/netz98/n98-magerun/master/n98-magerun.phar && chmod +x ./n98-magerun.phar"
17 |
18 | bash "download_n98-magerun" do
19 | cwd "#{Chef::Config[:file_cache_path]}"
20 | code <<-EOH
21 | #{command}
22 | EOH
23 | end
24 |
25 | if node["n98-magerun"]["install_globally"]
26 | bash "move_n98-magerun" do
27 | cwd "#{Chef::Config[:file_cache_path]}"
28 | code <<-EOH
29 | sudo mv n98-magerun.phar #{node["n98-magerun"]["prefix"]}/bin/n98-magerun
30 | EOH
31 | end
32 | end
33 |
--------------------------------------------------------------------------------
/berks-cookbooks/mailhog/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Change Log
2 |
3 | All notable changes to this project will be documented in this file.
4 | This project adheres to [Semantic Versioning](http://semver.org/).
5 |
6 | ## [0.2.0] - (2016-05-31)
7 | ### Changed
8 | - Update github url to use https [[daohoangson](https://github.com/daohoangson)]
9 | - Set runit dependency to version 1.7.4 [[levitin](https://github.com/levitin)]
10 |
11 | ### Added
12 | - Create spec tests [[levitin](https://github.com/levitin)]
13 | - Extend mailhog configuration with command line options [[levitin](https://github.com/levitin)]
14 | - Extend readme documentation with command line options [[levitin](https://github.com/levitin)]
15 |
16 | ## [0.1.0] - (2015-03-23)
17 |
18 | - Initial release
19 |
--------------------------------------------------------------------------------
/berks-cookbooks/mailhog/metadata.json:
--------------------------------------------------------------------------------
1 | {"name":"mailhog","version":"0.2.0","description":"Installs/Configures mailhog","long_description":"","maintainer":"Sergey Storchay","maintainer_email":"r8@r8.com.ua","license":"MIT","platforms":{"debian":">= 0.0.0","ubuntu":">= 0.0.0","centos":">= 0.0.0","redhat":">= 0.0.0","smartos":">= 0.0.0"},"dependencies":{"runit":"= 1.7.4"},"recommendations":{},"suggestions":{},"conflicting":{},"providing":{},"replacing":{},"attributes":{},"groupings":{},"recipes":{}}
--------------------------------------------------------------------------------
/berks-cookbooks/mingw/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | Please refer to
2 | https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD
3 |
--------------------------------------------------------------------------------
/berks-cookbooks/mingw/attributes/default.rb:
--------------------------------------------------------------------------------
1 | # override these attributes to pull the msys2 package from a custom url
2 | default['msys2']['url'] = 'http://downloads.sourceforge.net/project/msys2/Base/x86_64/msys2-base-x86_64-20160205.tar.xz'
3 | default['msys2']['checksum'] = '7e97e2af042e1b6f62cf0298fe84839014ef3d4a3e7825cffc6931c66cc0fc20'
4 |
--------------------------------------------------------------------------------
/berks-cookbooks/mingw/files/default/bash.bat:
--------------------------------------------------------------------------------
1 | @echo off
2 | set HOME=/home/%USERNAME%
3 |
4 | IF "%MSYSTEM%"=="" (
5 | echo MSYSTEM is NOT defined
6 | exit
7 | )
8 |
9 | rem Ask MSYS to initialize with a minimal path by default.
10 | rem This will put only the windows system paths into the msys path.
11 | set MSYS2_PATH_TYPE=minimal
12 |
13 | rem See /etc/profile - it should invoke post-install step 05-home-dir.post
14 | rem which uses this environment variable to change directories.
15 | set CHERE_INVOKING=1
16 |
17 | %~dp0..\usr\bin\bash.exe -l %*
18 |
--------------------------------------------------------------------------------
/berks-cookbooks/mingw/files/default/custom-upgrade.sh:
--------------------------------------------------------------------------------
1 | declare -r CRITICAL_PACKAGES="bash pacman msys2-runtime"
2 | declare -r OPTIONAL_PACKAGES="msys2-runtime-devel"
3 |
4 | # set pacman command if not already defined
5 | PACMAN=${PACMAN:-pacman}
6 | # save full path to command as PATH may change when sourcing /etc/profile
7 | PACMAN_PATH=$(type -P $PACMAN)
8 |
9 | run_pacman() {
10 | local cmd
11 | cmd=("$PACMAN_PATH" "$@")
12 | "${cmd[@]}"
13 | }
14 |
15 | if ! run_pacman -Sy; then
16 | exit 1
17 | fi
18 |
19 | run_pacman -Qu ${CRITICAL_PACKAGES}
20 |
21 | if ! run_pacman -S --noconfirm --needed ${CRITICAL_PACKAGES} ${OPTIONAL_PACKAGES}; then
22 | exit 1
23 | fi
24 |
--------------------------------------------------------------------------------
/berks-cookbooks/mingw/files/default/custom_prefix.sh:
--------------------------------------------------------------------------------
1 | # Prepend values from the parent environment to msys2 environment variables.
2 |
3 | export PKG_CONFIG_PATH="${PREMSYS2_PKG_CONFIG_PATH:+${PREMSYS2_PKG_CONFIG_PATH}:}${PKG_CONFIG_PATH}"
4 |
5 | # Instead of placing our entire windows path into msys2, we can selectively
6 | # prepend just the important parts that we need. This also ensures that
7 | # we don't accidentally add other unnecessary chef or git msys2 library
8 | # files in the path.
9 | export PATH="${PREMSYS2_PATH:+${PREMSYS2_PATH}:}${PATH}"
10 |
11 | # TODO: If there are other variabled we want to control like MANPATH or ACLOCALPATH,
12 | # add those here.
13 |
14 |
--------------------------------------------------------------------------------
/berks-cookbooks/mingw/recipes/default.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: mingw
3 | # Recipe:: default
4 | #
5 | # Copyright:: 2016, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 |
19 | include_recipe 'seven_zip::default'
20 |
--------------------------------------------------------------------------------
/berks-cookbooks/mysql/.foodcritic:
--------------------------------------------------------------------------------
1 | ~FC005
2 |
--------------------------------------------------------------------------------
/berks-cookbooks/mysql/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | Please refer to
2 | https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD
3 |
--------------------------------------------------------------------------------
/berks-cookbooks/mysql/metadata.json:
--------------------------------------------------------------------------------
1 | {"name":"mysql","version":"8.5.1","description":"Provides mysql_service, mysql_config, and mysql_client resources","long_description":"","maintainer":"Chef Software, Inc.","maintainer_email":"cookbooks@chef.io","license":"Apache-2.0","platforms":{"redhat":">= 6.0","centos":">= 6.0","scientific":">= 6.0","oracle":">= 6.0","amazon":">= 0.0.0","fedora":">= 0.0.0","debian":">= 7.0","ubuntu":">= 12.04","opensuse":">= 13.0","opensuseleap":">= 0.0.0","suse":">= 12.0"},"dependencies":{},"recommendations":{},"suggestions":{},"conflicting":{},"providing":{},"replacing":{},"attributes":{},"groupings":{},"recipes":{},"source_url":"https://github.com/chef-cookbooks/mysql","issues_url":"https://github.com/chef-cookbooks/mysql/issues","chef_version":[[">= 12.7"]],"ohai_version":[]}
--------------------------------------------------------------------------------
/berks-cookbooks/mysql/templates/default/apparmor/usr.sbin.mysqld-instance.erb:
--------------------------------------------------------------------------------
1 | /etc/<%= @mysql_name %>/*.pem r,
2 | /etc/<%= @mysql_name %>/conf.d/ r,
3 | /etc/<%= @mysql_name %>/conf.d/* r,
4 | /etc/<%= @mysql_name %>/my.cnf r,
5 | <%= @config.log_dir %>/ r,
6 | <%= @config.log_dir %>/* rw,
7 | <%= @config.data_dir %>/ r,
8 | <%= @config.data_dir %>/** rwk,
9 | <%= @config.run_dir %>/** rw,
10 | <%= @config.pid_file %> rw,
11 | <%= @config.socket_file %> rw,
12 | /tmp/<%= @mysql_name %>/ r,
13 | /tmp/<%= @mysql_name %>/my.sql r,
14 | <%= @config.tmp_dir %>/* rw,
15 |
--------------------------------------------------------------------------------
/berks-cookbooks/mysql/templates/default/apparmor/usr.sbin.mysqld-local.erb:
--------------------------------------------------------------------------------
1 | #include
2 |
--------------------------------------------------------------------------------
/berks-cookbooks/mysql/templates/default/smf/svc.method.mysqld.erb:
--------------------------------------------------------------------------------
1 | #!/sbin/sh
2 | #
3 | # Generated by Chef
4 | #
5 |
6 | . /lib/svc/share/smf_include.sh
7 |
8 | ulimit -n 10240
9 |
10 | case "$1" in
11 | start)
12 | <%= @mysqld_bin %> \
13 | --defaults-file=<%= @defaults_file %> \
14 | --basedir=<%= @base_dir %> \
15 | --datadir=<%= @data_dir %> \
16 | --pid-file=<%= @pid_file %> \
17 | --log-error=<%= @error_log %> &
18 | ;;
19 | stop)
20 | [ -f <%= @pid_file %> ] && kill `/usr/bin/head -1 <%= @pid_file %>`
21 | ;;
22 | *)
23 | echo "Usage: $0 {start|stop}" >&2
24 | exit 1
25 | ;;
26 | esac
27 |
28 | exit $SMF_EXIT_OK
29 |
--------------------------------------------------------------------------------
/berks-cookbooks/mysql/templates/default/systemd/mysqld.service.erb:
--------------------------------------------------------------------------------
1 | [Unit]
2 | Description=mysql_service[mysql-<%= @config.instance %>]
3 | After=syslog.target
4 | After=network.target
5 |
6 | [Service]
7 | Type=simple
8 | User=<%= @config.run_user %>
9 | Group=<%= @config.run_group %>
10 | ExecStart=<%= @mysqld_bin %> --defaults-file=<%= @etc_dir %>/my.cnf --basedir=<%= @base_dir %>
11 | ExecStartPost=/usr/libexec/mysql-<%= @config.instance %>-wait-ready $MAINPID
12 | TimeoutSec=300
13 | PrivateTmp=true
14 |
15 | [Install]
16 | WantedBy=multi-user.target
17 |
--------------------------------------------------------------------------------
/berks-cookbooks/mysql/templates/default/tmpfiles.d.conf.erb:
--------------------------------------------------------------------------------
1 | d <%= @run_dir %> 0755 <%= @run_user %> <%= @run_group %> -
2 |
--------------------------------------------------------------------------------
/berks-cookbooks/mysql/templates/default/upstart/mysqld-wait-ready.erb:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | # Wait for the server to come up
4 | ret=0
5 | while /bin/true; do
6 | RESPONSE=`/usr/bin/mysqladmin --no-defaults --socket="<%= @socket_file %>" --user=UNKNOWN_MYSQL_USER ping 2>&1`
7 | mret=$?
8 | if [ $mret -eq 0 ]; then
9 | break
10 | fi
11 | # exit codes 1, 11 (EXIT_CANNOT_CONNECT_TO_SERVICE) are expected,
12 | # anything else suggests a configuration error
13 | if [ $mret -ne 1 -a $mret -ne 11 ]; then
14 | ret=1
15 | break
16 | fi
17 | # "Access denied" also means the server is alive
18 | echo "$RESPONSE" | grep -q "Access denied for user" && break
19 | sleep 1
20 | done
21 |
22 | exit $ret
23 |
--------------------------------------------------------------------------------
/berks-cookbooks/mysql/templates/default/upstart/mysqld.erb:
--------------------------------------------------------------------------------
1 | # <%= @mysql_name %> Service
2 |
3 | description "MySQL service <%= @mysql_name %>"
4 | author "chef-client"
5 |
6 | start on runlevel [2345]
7 | stop on starting rc RUNLEVEL=[016]
8 |
9 | respawn
10 | respawn limit 2 5
11 |
12 | env HOME=/etc/<%= @mysql_name %>
13 | umask 007
14 |
15 | kill timeout 300
16 |
17 | pre-start script
18 | [ -d /run/<%= @mysql_name %> ] || install -m 755 -o <%= @run_user %> -g <%= @run_group %> -d /run/<%= @mysql_name %>
19 | [ -d <%= @socket_dir %> ] || install -m 755 -o <%= @run_user %> -g <%= @run_group %> -d <%= @socket_dir %>
20 | end script
21 |
22 | exec /usr/sbin/mysqld --defaults-file=<%= @defaults_file %>
23 |
24 | post-start script
25 | /usr/sbin/<%= @mysql_name %>-wait-ready
26 | end script
27 |
--------------------------------------------------------------------------------
/berks-cookbooks/nodejs/attributes/npm.rb:
--------------------------------------------------------------------------------
1 | default['nodejs']['npm']['install_method'] = 'embedded'
2 | default['nodejs']['npm']['version'] = 'latest'
3 |
--------------------------------------------------------------------------------
/berks-cookbooks/nodejs/attributes/packages.rb:
--------------------------------------------------------------------------------
1 | include_attribute 'nodejs::default'
2 | include_attribute 'nodejs::repo'
3 |
4 | default['nodejs']['packages'] = value_for_platform_family(
5 | 'debian' => node['nodejs']['install_repo'] ? ['nodejs'] : ['nodejs', 'npm', 'nodejs-dev'],
6 | %w(rhel fedora amazon) => node['nodejs']['install_repo'] ? ['nodejs', 'nodejs-devel'] : ['nodejs', 'npm', 'nodejs-dev'],
7 | 'suse' => node['platform_version'].to_i < 42 ? ['nodejs', 'nodejs-devel'] : ['nodejs4', 'npm4', 'nodejs4-devel'],
8 | 'mac_os_x' => ['node'],
9 | 'freebsd' => %w(node npm),
10 | 'default' => ['nodejs']
11 | )
12 |
--------------------------------------------------------------------------------
/berks-cookbooks/nodejs/attributes/repo.rb:
--------------------------------------------------------------------------------
1 | case node['platform_family']
2 | when 'debian'
3 | default['nodejs']['install_repo'] = true
4 | default['nodejs']['repo'] = 'https://deb.nodesource.com/node_6.x'
5 | default['nodejs']['keyserver'] = 'keyserver.ubuntu.com'
6 | default['nodejs']['key'] = '1655a0ab68576280'
7 | when 'rhel', 'amazon'
8 | default['nodejs']['install_repo'] = true
9 | release_ver = platform?('amazon') ? 6 : node['platform_version'].to_i
10 | default['nodejs']['repo'] = "https://rpm.nodesource.com/pub_6.x/el/#{release_ver}/$basearch"
11 | default['nodejs']['key'] = 'https://rpm.nodesource.com/pub/el/NODESOURCE-GPG-SIGNING-KEY-EL'
12 | end
13 |
--------------------------------------------------------------------------------
/berks-cookbooks/nodejs/recipes/install.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Author:: Marius Ducea (marius@promethost.com)
3 | # Cookbook:: nodejs
4 | # Recipe:: install
5 | #
6 | # Copyright:: 2010-2017, Promet Solutions
7 | #
8 | # Licensed under the Apache License, Version 2.0 (the "License");
9 | # you may not use this file except in compliance with the License.
10 | # You may obtain a copy of the License at
11 | #
12 | # http://www.apache.org/licenses/LICENSE-2.0
13 | #
14 | # Unless required by applicable law or agreed to in writing, software
15 | # distributed under the License is distributed on an "AS IS" BASIS,
16 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 | # See the License for the specific language governing permissions and
18 | # limitations under the License.
19 | #
20 |
21 | include_recipe "nodejs::nodejs_from_#{node['nodejs']['install_method']}"
22 |
--------------------------------------------------------------------------------
/berks-cookbooks/nodejs/recipes/iojs.rb:
--------------------------------------------------------------------------------
1 | Chef::Log.fatal('The nodejs::iojs recipe has been deprecated. If you need iojs installation pin to cookbook version 3.0.1.')
2 |
--------------------------------------------------------------------------------
/berks-cookbooks/nodejs/recipes/nodejs.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Author:: Marius Ducea (marius@promethost.com)
3 | # Cookbook:: nodejs
4 | # Recipe:: nodejs
5 | #
6 | # Copyright:: 2010-2017, Promet Solutions
7 | #
8 | # Licensed under the Apache License, Version 2.0 (the "License");
9 | # you may not use this file except in compliance with the License.
10 | # You may obtain a copy of the License at
11 | #
12 | # http://www.apache.org/licenses/LICENSE-2.0
13 | #
14 | # Unless required by applicable law or agreed to in writing, software
15 | # distributed under the License is distributed on an "AS IS" BASIS,
16 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 | # See the License for the specific language governing permissions and
18 | # limitations under the License.
19 | #
20 |
21 | Chef::Log.fatal('The nodejs::nodejs recipe is no longer used. Use nodejs::install to install nodejs instead.')
22 |
--------------------------------------------------------------------------------
/berks-cookbooks/nodejs/recipes/npm_packages.rb:
--------------------------------------------------------------------------------
1 | node['nodejs']['npm_packages'].each do |pkg|
2 | pkg_action = pkg.key?('action') ? pkg['action'] : :install
3 | f = npm_package "nodejs_npm-#{pkg['name']}-#{pkg_action}" do
4 | action :nothing
5 | package pkg['name']
6 | end
7 | pkg.each do |key, value|
8 | f.send(key, value) unless key == 'name' || key == 'action'
9 | end
10 | f.action(pkg_action)
11 | end if node['nodejs'].key?('npm_packages')
12 |
--------------------------------------------------------------------------------
/berks-cookbooks/nodejs/recipes/repo.rb:
--------------------------------------------------------------------------------
1 | case node['platform_family']
2 | when 'debian'
3 | package 'nodejs-apt-transport-https' do
4 | package_name 'apt-transport-https'
5 | end
6 |
7 | apt_repository 'node.js' do
8 | uri node['nodejs']['repo']
9 | distribution node['lsb']['codename']
10 | components ['main']
11 | keyserver node['nodejs']['keyserver']
12 | key node['nodejs']['key']
13 | end
14 | when 'rhel', 'amazon'
15 | yum_repository 'node.js' do
16 | description 'nodesource.com nodejs repository'
17 | baseurl node['nodejs']['repo']
18 | gpgkey node['nodejs']['key']
19 | end
20 | end
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/openssl/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | Please refer to
2 | https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD
3 |
--------------------------------------------------------------------------------
/berks-cookbooks/openssl/attributes/default.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook:: openssl
3 | # Attributes:: default
4 | #
5 | # Copyright:: 2014-2017, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | default['openssl']['restart_services'] = []
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/openssl/recipes/default.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook Name:: openssl
3 | # Recipe:: default
4 | #
5 | # Copyright 2009-2016, Chef Software, Inc.
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
--------------------------------------------------------------------------------
/berks-cookbooks/packagecloud/Gemfile:
--------------------------------------------------------------------------------
1 | # This gemfile provides additional gems for testing and releasing this cookbook
2 | # It is meant to be installed on top of ChefDK which provides the majority
3 | # of the necessary gems for testing this cookbook
4 | #
5 | # Run 'chef exec bundle install' to install these dependencies
6 |
7 | source 'https://rubygems.org'
8 |
9 | gem 'stove'
10 |
--------------------------------------------------------------------------------
/berks-cookbooks/packagecloud/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (C) 2014 Computology, LLC.
2 |
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 |
7 | http://www.apache.org/licenses/LICENSE-2.0
8 |
9 | Unless required by applicable law or agreed to in writing, software
10 | distributed under the License is distributed on an "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | See the License for the specific language governing permissions and
13 | limitations under the License.
14 |
--------------------------------------------------------------------------------
/berks-cookbooks/packagecloud/THANKS:
--------------------------------------------------------------------------------
1 | The following people have contributed to packagecloud chef cookbook (If you're not listed here and you should be, please let us know!):
2 |
3 | THANKS
4 | ------
5 | Guilhem Lettron (@guilhem)
6 | Michael S. Fischer (@mfischer-zd)
7 | Jeremy Bingham (@ctdk)
8 | James Le Cuirot (@chewi)
9 | Tim Smith (@tas50)
10 |
--------------------------------------------------------------------------------
/berks-cookbooks/packagecloud/Thorfile:
--------------------------------------------------------------------------------
1 | # encoding: utf-8
2 |
3 | require 'bundler'
4 | require 'bundler/setup'
5 | require 'berkshelf/thor'
6 |
--------------------------------------------------------------------------------
/berks-cookbooks/packagecloud/attributes/default.rb:
--------------------------------------------------------------------------------
1 | default['packagecloud']['base_repo_path'] = '/install/repositories/'
2 | default['packagecloud']['gpg_key_path'] = '/gpgkey'
3 | default['packagecloud']['hostname_override'] = nil
4 | default['packagecloud']['proxy_host'] = nil
5 | default['packagecloud']['proxy_port'] = nil
6 |
7 | default['packagecloud']['default_type'] = value_for_platform_family(
8 | 'debian' => 'deb',
9 | %w(rhel fedora amazon) => 'rpm'
10 | )
11 |
--------------------------------------------------------------------------------
/berks-cookbooks/packagecloud/libraries/matchers.rb:
--------------------------------------------------------------------------------
1 | if defined?(ChefSpec)
2 | ChefSpec.define_matcher :packagecloud_repo
3 |
4 | def create_packagecloud_repo(resource_name)
5 | ChefSpec::Matchers::ResourceMatcher.new(:packagecloud_repo, :add, resource_name)
6 | end
7 |
8 | def add_packagecloud_repo(resource_name)
9 | ChefSpec::Matchers::ResourceMatcher.new(:packagecloud_repo, :add, resource_name)
10 | end
11 | end
12 |
--------------------------------------------------------------------------------
/berks-cookbooks/packagecloud/spec/matchers_spec.rb:
--------------------------------------------------------------------------------
1 | require 'chefspec'
2 | require 'chefspec/berkshelf'
3 |
4 | describe 'packagecloud_test::deb' do
5 | let(:chef_run) { ChefSpec::SoloRunner.new(platform: 'ubuntu', version: '16.04').converge(described_recipe) }
6 |
7 | it 'should create packagecloud_repo' do
8 | expect(chef_run).to create_packagecloud_repo('computology_public_deb')
9 | end
10 |
11 | it 'should create packagecloud_repo with type of deb' do
12 | expect(chef_run).to create_packagecloud_repo('computology_public_deb') \
13 | .with_type('deb')
14 | end
15 | end
16 |
--------------------------------------------------------------------------------
/berks-cookbooks/packagecloud/templates/default/apt.erb:
--------------------------------------------------------------------------------
1 | deb <%= @base_url %> <%= @distribution %> <%= @component %>
2 | deb-src <%= @base_url %> <%= @distribution %> <%= @component %>
3 |
--------------------------------------------------------------------------------
/berks-cookbooks/packagecloud/templates/default/yum.erb:
--------------------------------------------------------------------------------
1 | [<%= @name %>]
2 | name=<%= @description %>
3 | baseurl=<%= @base_url %>
4 | repo_gpgcheck=<%= @repo_gpgcheck %>
5 | <% if @priority -%>
6 | priority=<%=@priority %>
7 | <% end -%>
8 | gpgcheck=0
9 | enabled=1
10 | gpgkey=<%= @gpg_url %>
11 | sslverify=1
12 | sslcacert=/etc/pki/tls/certs/ca-bundle.crt
13 | <% if @metadata_expire %>
14 | metadata_expire=<%= @metadata_expire %>
15 | <% end %>
16 |
--------------------------------------------------------------------------------
/berks-cookbooks/packagecloud/test/fixtures/cookbooks/packagecloud_test/metadata.rb:
--------------------------------------------------------------------------------
1 | name 'packagecloud_test'
2 |
3 | depends 'yum'
4 | depends 'packagecloud'
5 |
--------------------------------------------------------------------------------
/berks-cookbooks/packagecloud/test/fixtures/cookbooks/packagecloud_test/recipes/deb.rb:
--------------------------------------------------------------------------------
1 | include_recipe 'packagecloud_test::distro_deps'
2 |
3 | packagecloud_repo 'computology_public_deb' do
4 | repository 'computology/packagecloud-cookbook-test-public'
5 | type 'deb'
6 | end
7 |
8 | package 'jake'
9 |
10 | packagecloud_repo 'computology_private' do
11 | repository 'computology/packagecloud-cookbook-test-private'
12 | type 'deb'
13 | master_token '762748f7ae0bfdb086dd539575bdc8cffdca78c6a9af0db9'
14 | end
15 |
16 | package 'jake-doc'
17 |
18 | execute 'install_jake_source' do
19 | command 'apt-get source jake'
20 | end
21 |
22 | packagecloud_repo 'computology/packagecloud-test-packages' do
23 | type 'deb'
24 | force_os 'debian'
25 | force_dist 'wheezy'
26 | end
27 |
--------------------------------------------------------------------------------
/berks-cookbooks/packagecloud/test/fixtures/cookbooks/packagecloud_test/recipes/rpm.rb:
--------------------------------------------------------------------------------
1 | include_recipe 'packagecloud_test::distro_deps'
2 |
3 | packagecloud_repo 'computology_public_rpm' do
4 | repository 'computology/packagecloud-cookbook-test-public'
5 | type 'rpm'
6 | end
7 |
8 | package 'jake'
9 |
10 | packagecloud_repo 'computology/packagecloud-cookbook-test-private' do
11 | type 'rpm'
12 | master_token '762748f7ae0bfdb086dd539575bdc8cffdca78c6a9af0db9'
13 | end
14 |
15 | package 'man'
16 | package 'jake-docs'
17 |
18 | packagecloud_repo 'computology/packagecloud-test-packages' do
19 | type 'rpm'
20 | force_os 'rhel'
21 | force_dist '6.7'
22 | end
23 |
24 | package 'packagecloud-test'
25 |
--------------------------------------------------------------------------------
/berks-cookbooks/packagecloud/test/fixtures/cookbooks/packagecloud_test/recipes/rubygems.rb:
--------------------------------------------------------------------------------
1 | include_recipe 'packagecloud_test::distro_deps'
2 |
3 | packagecloud_repo 'computology/packagecloud-cookbook-test-public' do
4 | type 'gem'
5 | end
6 |
7 | if platform?('centos') && node['platform_version'].to_i == 5
8 | execute 'gem install' do
9 | command 'gem install jakedotrb --bindir /usr/local/bin'
10 | end
11 | else
12 | gem_package 'jakedotrb' do
13 | options '--bindir /usr/local/bin'
14 | version '0.0.1'
15 | source 'https://packagecloud.io/computology/packagecloud-cookbook-test-public/'
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/berks-cookbooks/packagecloud/test/fixtures/cookbooks/packagecloud_test/recipes/rubygems_private.rb:
--------------------------------------------------------------------------------
1 | include_recipe 'packagecloud_test::distro_deps'
2 |
3 | packagecloud_repo 'computology/packagecloud-cookbook-test-private' do
4 | type 'gem'
5 | master_token '762748f7ae0bfdb086dd539575bdc8cffdca78c6a9af0db9'
6 | end
7 |
8 | if platform?('centos') && node['platform_version'].to_i == 5
9 | execute 'gem install' do
10 | command 'gem install jakedotrb --bindir /usr/local/bin'
11 | end
12 | else
13 | gem_package 'jakedotrb' do
14 | options '--bindir /usr/local/bin'
15 | version '0.0.1'
16 | end
17 | end
18 |
--------------------------------------------------------------------------------
/berks-cookbooks/packagecloud/test/integration/default/force_os_spec.rb:
--------------------------------------------------------------------------------
1 | if os[:family] == 'ubuntu'
2 | sources_content = "deb https://packagecloud.io/computology/packagecloud-test-packages/debian wheezy main\ndeb-src https://packagecloud.io/computology/packagecloud-test-packages/debian wheezy main\n"
3 |
4 | describe file('/etc/apt/sources.list.d/computology_packagecloud-test-packages.list') do
5 | it { should exist }
6 | its(:content) { should eq sources_content }
7 | end
8 | end
9 |
--------------------------------------------------------------------------------
/berks-cookbooks/packagecloud/test/integration/default/jakedotrb_spec.rb:
--------------------------------------------------------------------------------
1 | path = '/usr/local/bin/jakedotrb'
2 |
3 | describe command("ls #{path}") do
4 | its(:exit_status) { should eq 0 }
5 | end
6 |
7 | describe command(path) do
8 | its(:exit_status) { should eq 0 }
9 | its(:stdout) { should match /jake douglas is a very nice young man./ }
10 | end
11 |
--------------------------------------------------------------------------------
/berks-cookbooks/percona/attributes/monitoring.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook Name:: percona
3 | # Attributes:: monitoring
4 | #
5 |
6 | default["percona"]["plugins_version"] = "1.1.3"
7 | default["percona"]["plugins_packages"] = %w[percona-nagios-plugins percona-zabbix-templates percona-cacti-templates]
8 |
--------------------------------------------------------------------------------
/berks-cookbooks/percona/recipes/backup.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook Name:: percona
3 | # Recipe:: backup
4 | #
5 |
6 | node.set["percona"]["backup"]["configure"] = true
7 |
8 | include_recipe "percona::package_repo"
9 |
10 | case node["platform_family"]
11 | when "debian"
12 | package "xtrabackup" do
13 | options "--force-yes"
14 | end
15 | when "rhel"
16 | package "percona-xtrabackup"
17 | end
18 |
19 | # access grants
20 | include_recipe "percona::access_grants" unless node["percona"]["skip_passwords"]
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/percona/recipes/client.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook Name:: percona
3 | # Recipe:: client
4 | #
5 |
6 | include_recipe "percona::package_repo"
7 |
8 | node["percona"]["client"]["packages"].each do |percona_client_pkg|
9 | package percona_client_pkg do
10 | action node["percona"]["client"]["package_action"].to_sym
11 | end
12 | end
13 |
--------------------------------------------------------------------------------
/berks-cookbooks/percona/recipes/default.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook Name:: percona
3 | # Recipe:: default
4 | #
5 |
6 | include_recipe "percona::client"
7 |
--------------------------------------------------------------------------------
/berks-cookbooks/percona/recipes/monitoring.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook Name:: percona
3 | # Recipe:: monitoring
4 | #
5 |
6 | node["percona"]["plugins_packages"].each do |pkg|
7 | package pkg do
8 | version node["percona"]["plugins_version"]
9 | end
10 | end
11 |
--------------------------------------------------------------------------------
/berks-cookbooks/percona/recipes/toolkit.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook Name:: percona
3 | # Recipe:: toolkit
4 | #
5 |
6 | include_recipe "percona::package_repo"
7 |
8 | # Workaround a bug in the RPM packaging of percona-toolkit. Otherwise, it'll
9 | # try to pull in Percona-Server-shared-51, which will conflict with 5.5.
10 | # https://bugs.launchpad.net/percona-toolkit/+bug/1031427
11 | if platform_family?("rhel") && node["percona"]["version"].match(/5\.[15]/)
12 | package "Percona-Server-shared-compat"
13 | end
14 |
15 | package "percona-toolkit" do
16 | options "--force-yes" if platform_family?("debian")
17 | end
18 |
--------------------------------------------------------------------------------
/berks-cookbooks/percona/templates/default/debian.cnf.erb:
--------------------------------------------------------------------------------
1 | # Automatically generated for Debian scripts. DO NOT TOUCH!
2 | [client]
3 | host = <%= node["percona"]["server"]["hostname"] %>
4 | user = <%= node["percona"]["server"]["debian_username"] %>
5 | password = <%= @debian_password %>
6 | socket = <%= node["percona"]["server"]["socket"] %>
7 | [mysql_upgrade]
8 | host = <%= node["percona"]["server"]["hostname"] %>
9 | user = <%= node["percona"]["server"]["debian_username"] %>
10 | password = <%= @debian_password %>
11 | socket = <%= node["percona"]["server"]["socket"] %>
12 | basedir = <%= node["percona"]["server"]["basedir"] %>
13 |
--------------------------------------------------------------------------------
/berks-cookbooks/percona/templates/default/my.cnf.root.erb:
--------------------------------------------------------------------------------
1 | <% %w[client mysqladmin mysqldump].each do |record| -%>
2 | [<%= record %>]
3 | user=root
4 | password='<%= @root_password %>'
5 | <% end -%>
--------------------------------------------------------------------------------
/berks-cookbooks/phing/.kitchen.yml:
--------------------------------------------------------------------------------
1 | ---
2 | driver:
3 | name: vagrant
4 |
5 | provisioner:
6 | name: chef_solo
7 |
8 | platforms:
9 | - name: ubuntu-12.04
10 | - name: centos-7.0
11 |
12 | suites:
13 | - name: default
14 | run_list:
15 | - recipe[phing::default]
16 | attributes:
17 |
--------------------------------------------------------------------------------
/berks-cookbooks/phing/Berksfile:
--------------------------------------------------------------------------------
1 | source "https://supermarket.getchef.com"
2 |
3 | metadata
4 |
--------------------------------------------------------------------------------
/berks-cookbooks/phing/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | gem 'berkshelf'
4 |
5 | # Uncomment these lines if you want to live on the Edge:
6 | #
7 | # group :development do
8 | # gem "berkshelf", github: "berkshelf/berkshelf"
9 | # gem "vagrant", github: "mitchellh/vagrant", tag: "v1.6.3"
10 | # end
11 | #
12 | # group :plugins do
13 | # gem "vagrant-berkshelf", github: "berkshelf/vagrant-berkshelf"
14 | # gem "vagrant-omnibus", github: "schisamo/vagrant-omnibus"
15 | # end
16 |
17 | gem 'test-kitchen'
18 | gem 'kitchen-vagrant'
19 |
--------------------------------------------------------------------------------
/berks-cookbooks/phing/Thorfile:
--------------------------------------------------------------------------------
1 | # encoding: utf-8
2 |
3 | require 'bundler'
4 | require 'bundler/setup'
5 | require 'berkshelf/thor'
6 |
7 | begin
8 | require 'kitchen/thor_tasks'
9 | Kitchen::ThorTasks.new
10 | rescue LoadError
11 | puts ">>>>> Kitchen gem not loaded, omitting tasks" unless ENV['CI']
12 | end
13 |
--------------------------------------------------------------------------------
/berks-cookbooks/phing/attributes/default.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook Name:: phing
3 | # Attributes:: default
4 | #
5 | # Copyright 2013, Sergey Storchay
6 | #
7 | # Licensed under MIT:
8 | # http://raw.github.com/r8/chef-phing/master/LICENSE.txt
9 |
10 | # Phing install method (pear)
11 | default["phing"]["install_method"] = "composer"
12 |
13 | # When installing via PEAR, this is the preferred state
14 | # (stable, beta, devel) or a specific x.y.z PEAR version (eg. 4.5.0)
15 | default["phing"]["preferred_state"] = "stable"
16 |
17 | # Composer specific settings
18 | default['phing']['install_dir'] = '/usr/local/phing'
19 | default['phing']['prefix'] = '/usr/bin'
20 | default['phing']['version'] = 'latest'
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/phing/recipes/composer.rb:
--------------------------------------------------------------------------------
1 | include_recipe 'composer'
2 |
3 | phing_dir = node['phing']['install_dir']
4 |
5 | directory phing_dir do
6 | owner 'root'
7 | group 'root'
8 | mode 0755
9 | action :create
10 | end
11 |
12 | # figure out what version to install
13 | if node['phing']['version'] != 'latest'
14 | version = node['phing']['version']
15 | else
16 | version = '*.*.*'
17 | end
18 |
19 | # composer.json
20 | template "#{phing_dir}/composer.json" do
21 | source 'composer.json.erb'
22 | owner 'root'
23 | group 'root'
24 | mode 0600
25 | variables(
26 | :version => version,
27 | :bindir => node['phing']['prefix']
28 | )
29 | end
30 |
31 | # composer update
32 | execute 'phing-composer' do
33 | user 'root'
34 | cwd phing_dir
35 | command 'composer update'
36 | action :run
37 | end
38 |
--------------------------------------------------------------------------------
/berks-cookbooks/phing/recipes/default.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook Name:: phing
3 | # Recipe:: default
4 | #
5 | # Copyright 2013, Sergey Storchay
6 | #
7 | # Licensed under MIT:
8 | # http://raw.github.com/r8/php-phing/master/LICENSE.txt
9 |
10 | include_recipe "php"
11 |
12 | include_recipe "phing::#{node["phing"]["install_method"]}"
13 |
--------------------------------------------------------------------------------
/berks-cookbooks/phing/recipes/pear.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook Name:: phing
3 | # Recipe:: pear
4 | #
5 | # Copyright 2013, Sergey Storchay
6 | #
7 | # Licensed under MIT:
8 | # http://raw.github.com/r8/php-phing/master/LICENSE.txt
9 |
10 | include_recipe "php"
11 |
12 | # Initialize Phing PEAR channel
13 | channel = php_pear_channel "pear.phing.info" do
14 | action :discover
15 | end
16 |
17 | # Install Phing
18 | php_pear "phing" do
19 | preferred_state node["phing"]["preferred_state"]
20 | channel channel.channel_name
21 | action :install
22 | end
23 |
--------------------------------------------------------------------------------
/berks-cookbooks/phing/templates/default/composer.json.erb:
--------------------------------------------------------------------------------
1 | {
2 | "name": "phing",
3 | "description": "phing",
4 | "require": {
5 | "phing/phing": "<%= @version %>"
6 | },
7 | "config": {
8 | "bin-dir": "<%= @bindir %>"
9 | }
10 | }
--------------------------------------------------------------------------------
/berks-cookbooks/php/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | Please refer to
2 | https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD
3 |
--------------------------------------------------------------------------------
/berks-cookbooks/php/templates/default/extension.ini.erb:
--------------------------------------------------------------------------------
1 | ; configuration for php <%= @name %> module
2 | <% @extensions.each do |filepath, zend| -%>
3 | <%= 'zend_' if zend %>extension=<%= filepath %>
4 | <% end -%>
5 | <% @directives.each do |k,v| -%>
6 | <%= "#{@name}.#{k}=#{v}" %>
7 | <% end -%>
8 |
--------------------------------------------------------------------------------
/berks-cookbooks/php/templates/default/fpm-pool.conf.erb:
--------------------------------------------------------------------------------
1 | [<%= @fpm_pool_name %>]
2 | user = <%= @fpm_pool_user %>
3 | group = <%= @fpm_pool_group %>
4 | listen = <%= @fpm_pool_listen %>
5 | listen.owner = <%= @fpm_pool_listen_user %>
6 | listen.group = <%= @fpm_pool_listen_group %>
7 | pm = <%= @fpm_pool_manager %>
8 | pm.max_children = <%= @fpm_pool_max_children %>
9 | pm.start_servers = <%= @fpm_pool_start_servers %>
10 | pm.min_spare_servers = <%= @fpm_pool_min_spare_servers %>
11 | pm.max_spare_servers = <%= @fpm_pool_max_spare_servers %>
12 | chdir = <%= @fpm_pool_chdir %>
13 | <% @fpm_pool_additional_config.each do |key, value| %>
14 | <%= key %> = <%= value %>
15 | <% end %>
16 |
--------------------------------------------------------------------------------
/berks-cookbooks/poise-archive/attributes/default.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright 2017, Noah Kantrowitz
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 | default['poise-archive']['seven_zip']['version'] = '16.04'
18 | default['poise-archive']['seven_zip']['url'] = 'http://www.7-zip.org/a/7z%{version_tag}%{arch_tag}.exe'
19 |
--------------------------------------------------------------------------------
/berks-cookbooks/poise-archive/files/halite_gem/poise_archive.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright 2016-2017, Noah Kantrowitz
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 |
18 | module PoiseArchive
19 | autoload :Resources, 'poise_archive/resources'
20 | autoload :VERSION, 'poise_archive/version'
21 | end
22 |
--------------------------------------------------------------------------------
/berks-cookbooks/poise-archive/files/halite_gem/poise_archive/bzip2.rb:
--------------------------------------------------------------------------------
1 | # This code is free software; you can redistribute it and/or modify it under
2 | # the terms of the new BSD License.
3 | #
4 | # Copyright (c) 2013, Sebastian Staudt
5 |
6 |
7 | module PoiseArchive::Bzip2
8 |
9 | autoload :CRC, 'poise_archive/bzip2/crc'
10 | autoload :Constants, 'poise_archive/bzip2/constants'
11 | autoload :Decompressor, 'poise_archive/bzip2/decompressor'
12 | autoload :IO, 'poise_archive/bzip2/io'
13 | autoload :InputData, 'poise_archive/bzip2/input_data'
14 | autoload :OutputData, 'poise_archive/bzip2/output_data'
15 |
16 | end
17 |
--------------------------------------------------------------------------------
/berks-cookbooks/poise-archive/files/halite_gem/poise_archive/cheftie.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright 2016-2017, Noah Kantrowitz
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 | require 'poise_archive/resources'
18 | require 'poise_archive/archive_providers'
19 |
--------------------------------------------------------------------------------
/berks-cookbooks/poise-archive/files/halite_gem/poise_archive/resources.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright 2016-2017, Noah Kantrowitz
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 | require 'poise_archive/resources/poise_archive'
18 |
19 |
20 | module PoiseArchive
21 | # Chef resources and providers for poise-archive.
22 | #
23 | # @since 1.0.0
24 | module Resources
25 | end
26 | end
27 |
--------------------------------------------------------------------------------
/berks-cookbooks/poise-archive/files/halite_gem/poise_archive/version.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright 2016-2017, Noah Kantrowitz
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 |
18 | module PoiseArchive
19 | VERSION = '1.5.0'
20 | end
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/poise-languages/files/halite_gem/poise_languages/command.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright 2015-2017, Noah Kantrowitz
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 |
18 | module PoiseLanguages
19 | # A namespace for language-command-related stuff.
20 | #
21 | # @since 1.0.0
22 | module Command
23 | autoload :Mixin, 'poise_languages/command/mixin'
24 | end
25 | end
26 |
--------------------------------------------------------------------------------
/berks-cookbooks/poise-languages/files/halite_gem/poise_languages/error.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright 2015-2017, Noah Kantrowitz
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 |
18 | module PoiseLanguages
19 | class Error < ::Exception
20 | end
21 | end
22 |
--------------------------------------------------------------------------------
/berks-cookbooks/poise-languages/files/halite_gem/poise_languages/version.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright 2015-2017, Noah Kantrowitz
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 |
18 | module PoiseLanguages
19 | VERSION = '2.1.2'
20 | end
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/poise-languages/libraries/default.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright 2015-2017, Noah Kantrowitz
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 | raise 'Halite is not compatible with no_lazy_load false, please set no_lazy_load true in your Chef configuration file.' unless Chef::Config[:no_lazy_load]
18 | $LOAD_PATH << File.expand_path('../../files/halite_gem', __FILE__)
19 |
--------------------------------------------------------------------------------
/berks-cookbooks/poise-python/files/halite_gem/poise_python/cheftie.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright 2015-2017, Noah Kantrowitz
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 | require 'poise_python/resources'
18 | require 'poise_python/python_providers'
19 |
--------------------------------------------------------------------------------
/berks-cookbooks/poise-python/files/halite_gem/poise_python/error.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright 2015-2017, Noah Kantrowitz
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 | require 'poise_languages'
18 |
19 |
20 | module PoisePython
21 | class Error < PoiseLanguages::Error
22 | end
23 | end
24 |
--------------------------------------------------------------------------------
/berks-cookbooks/poise-python/files/halite_gem/poise_python/version.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright 2015-2017, Noah Kantrowitz
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 |
18 | module PoisePython
19 | VERSION = '1.7.0'
20 | end
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/poise/files/halite_gem/poise/error.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright 2015-2016, Noah Kantrowitz
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 |
18 | module Poise
19 | # Base exception class for Poise errors.
20 | #
21 | # @since 2.0.0
22 | class Error < Exception
23 | end
24 | end
25 |
--------------------------------------------------------------------------------
/berks-cookbooks/poise/files/halite_gem/poise/version.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright 2013-2016, Noah Kantrowitz
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 |
18 | module Poise
19 | VERSION = '2.8.2'
20 | end
21 |
--------------------------------------------------------------------------------
/berks-cookbooks/poise/libraries/default.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright 2013-2016, Noah Kantrowitz
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 | raise 'Halite is not compatible with no_lazy_load false, please set no_lazy_load true in your Chef configuration file.' unless Chef::Config[:no_lazy_load]
18 | $LOAD_PATH << File.expand_path('../../files/halite_gem', __FILE__)
19 |
--------------------------------------------------------------------------------
/berks-cookbooks/postfix/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | Please refer to
2 |
--------------------------------------------------------------------------------
/berks-cookbooks/postfix/templates/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/r8/vagrant-lamp/92c765a7b189a7fc285671ac7bc13f126d187d6c/berks-cookbooks/postfix/templates/.DS_Store
--------------------------------------------------------------------------------
/berks-cookbooks/postfix/templates/access.erb:
--------------------------------------------------------------------------------
1 | #
2 | # Auto-generated by Chef. Do not hand edit!
3 | # Local modifications will be overwritten.
4 | #
5 | # See man 5 access for format
6 |
7 | <% node['postfix']['access'].each do |name, value| %>
8 | <%= name %> <%= value %>
9 | <% end unless node['postfix']['access'].nil? %>
10 |
--------------------------------------------------------------------------------
/berks-cookbooks/postfix/templates/aliases.erb:
--------------------------------------------------------------------------------
1 | #
2 | # Auto-generated by Chef.
3 | # Local modifications will be overwritten.
4 | #
5 | # See man 5 aliases for format
6 | postmaster: root
7 |
8 | <% node['postfix']['aliases'].each do |name, value| %>
9 | <%= name %>: <%= [value].flatten.map{|x| if (x.include?("@")) then x else %Q("#{x}") end}.join(', ') %>
10 | <% end unless node['postfix']['aliases'].nil? %>
11 |
--------------------------------------------------------------------------------
/berks-cookbooks/postfix/templates/mailer.erb:
--------------------------------------------------------------------------------
1 | #
2 | # Auto-generated by Chef.
3 | # Local modifications will be overwritten.
4 | #
5 | # Execute the Postfix sendmail program, named /usr/local/sbin/sendmail
6 | #
7 | sendmail /usr/local/sbin/sendmail
8 | send-mail /usr/local/sbin/sendmail
9 | mailq /usr/local/sbin/sendmail
10 | newaliases /usr/local/sbin/sendmail
11 |
--------------------------------------------------------------------------------
/berks-cookbooks/postfix/templates/main.cf.erb:
--------------------------------------------------------------------------------
1 | ###
2 | # Auto-generated by Chef.
3 | # Local modifications will be overwritten.
4 | # Configured as <%= node['postfix']['mail_type'] %>
5 | ###
6 |
7 | <% @settings.sort.map do |key, value| -%>
8 | <% next if value.nil? -%>
9 | <% if value.kind_of? Array -%>
10 | <%= "#{key} = #{value.join(', ')}"%>
11 | <% else -%>
12 | <%= "#{key} = #{value}"%>
13 | <% end -%>
14 | <% end -%>
15 |
--------------------------------------------------------------------------------
/berks-cookbooks/postfix/templates/maps.erb:
--------------------------------------------------------------------------------
1 | #
2 | # This file is generated by Chef.
3 | # Local changes will be overwritten
4 | #
5 |
6 | <% @map.each do |key, value| -%>
7 | <%= key %><%= @separator %><%= value %>
8 | <% end unless @map.nil? -%>
9 |
--------------------------------------------------------------------------------
/berks-cookbooks/postfix/templates/port_smtp.erb:
--------------------------------------------------------------------------------
1 | # SMTP
2 | -A FWR -p tcp -m tcp --dport 25 -j ACCEPT
3 |
--------------------------------------------------------------------------------
/berks-cookbooks/postfix/templates/recipient_canonical.erb:
--------------------------------------------------------------------------------
1 | #
2 | # Auto-generated by Chef.
3 | # Local modifications will be overwritten.
4 | #
5 | # See man 5 canonical for format
6 |
7 | <% node['postfix']['recipient_canonical_map_entries'].each do |name, value| %>
8 | <%= name %> <%= value %>
9 | <% end unless node['postfix']['recipient_canonical_map_entries'].nil? %>
10 |
--------------------------------------------------------------------------------
/berks-cookbooks/postfix/templates/relay_restrictions.erb:
--------------------------------------------------------------------------------
1 | #
2 | # Auto-generated by Chef.
3 | # Local modifications will be overwritten.
4 | #
5 | # Attribute name is the domain name, Attribute value is either OK or REJECT
6 |
7 | <% node['postfix']['relay_restrictions'].each do |name, value| %>
8 | <%= name %> <%= value %>
9 | <% end unless node['postfix']['relay_restrictions'].nil? %>
10 | * REJECT
11 |
--------------------------------------------------------------------------------
/berks-cookbooks/postfix/templates/sasl_passwd.erb:
--------------------------------------------------------------------------------
1 | # Auto-generated by Chef.
2 | # Local modifications will be overwritten.
3 |
4 | <% if !@settings.nil? && !@settings.empty? -%>
5 | <% @settings.sort.map do |relayhost,value| -%>
6 | <%= relayhost %> <%= value['username'] %>:<%= value['password'] %>
7 | <% end -%>
8 | <% end -%>
9 |
--------------------------------------------------------------------------------
/berks-cookbooks/postfix/templates/sender_canonical.erb:
--------------------------------------------------------------------------------
1 | #
2 | # Auto-generated by Chef.
3 | # Local modifications will be overwritten.
4 | #
5 | # See man 5 canonical for format
6 |
7 | <% node['postfix']['sender_canonical_map_entries'].each do |name, value| %>
8 | <%= name %> <%= value %>
9 | <% end unless node['postfix']['sender_canonical_map_entries'].nil? %>
10 |
--------------------------------------------------------------------------------
/berks-cookbooks/postfix/templates/smtp_generic.erb:
--------------------------------------------------------------------------------
1 | #
2 | # Auto-generated by Chef.
3 | # Local modifications will be overwritten.
4 | #
5 | # See man 5 generic for format
6 |
7 | <% node['postfix']['smtp_generic_map_entries'].each do |name, value| %>
8 | <%= name %> <%= value %>
9 | <% end unless node['postfix']['smtp_generic_map_entries'].nil? %>
10 |
--------------------------------------------------------------------------------
/berks-cookbooks/postfix/templates/transport.erb:
--------------------------------------------------------------------------------
1 | #
2 | # Auto-generated by Chef.
3 | # Local modifications will be overwritten.
4 | #
5 | # See man 5 transport for format
6 |
7 | <% node['postfix']['transports'].each do |name, value| %>
8 | <%= name %> <%= value %>
9 | <% end unless node['postfix']['transports'].nil? %>
10 |
--------------------------------------------------------------------------------
/berks-cookbooks/postfix/templates/virtual_aliases.erb:
--------------------------------------------------------------------------------
1 | #
2 | # Auto-generated by Chef.
3 | # Local modifications will be overwritten.
4 | #
5 | # See man 5 virtual for format
6 |
7 | <% node['postfix']['virtual_aliases'].each do |key, value| %>
8 | <%= key %> <%= value %>
9 | <% end unless node['postfix']['virtual_aliases'].nil? %>
10 |
--------------------------------------------------------------------------------
/berks-cookbooks/postfix/templates/virtual_aliases_domains.erb:
--------------------------------------------------------------------------------
1 | #
2 | # Auto-generated by Chef.
3 | # Local modifications will be overwritten.
4 | #
5 | # See man 5 virtual for format
6 |
7 | <% node['postfix']['virtual_aliases_domains'].each do |key, value| %>
8 | <%= key %> <%= value %>
9 | <% end unless node['postfix']['virtual_aliases_domains'].nil? %>
10 |
--------------------------------------------------------------------------------
/berks-cookbooks/redisio/.foodcritic:
--------------------------------------------------------------------------------
1 | ~FC085
2 |
--------------------------------------------------------------------------------
/berks-cookbooks/redisio/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | # Contributing
2 |
3 | ## Branches
4 |
5 | ### `master` branch
6 |
7 | The master branch is the current committed changes. These changes may not yet be released although we try to release often.
8 |
9 | ## Tags
10 |
11 | All releases are tagged in git. To see the releases available to you see the changelog or the tags directly.
12 |
13 | ## Pull requests
14 |
15 | -
16 |
17 | ## Issues
18 |
19 | Need to report an issue? Use the github issues:
20 |
21 | -
22 |
--------------------------------------------------------------------------------
/berks-cookbooks/redisio/attributes/redis_gem.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Cookbook Name:: redisio
3 | # Attribute::redis_gem
4 | #
5 | # Copyright 2013, Brian Bianco
6 | #
7 | # Licensed under the Apache License, Version 2.0 (the "License");
8 | # you may not use this file except in compliance with the License.
9 | # You may obtain a copy of the License at
10 | #
11 | # http://www.apache.org/licenses/LICENSE-2.0
12 | #
13 | # Unless required by applicable law or agreed to in writing, software
14 | # distributed under the License is distributed on an "AS IS" BASIS,
15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 | # See the License for the specific language governing permissions and
17 | # limitations under the License.
18 | #
19 |
20 | # Allow for a redis ruby gem to be installed
21 | default['redisio']['gem']['name'] = 'redis'
22 | default['redisio']['gem']['version'] = nil
23 |
--------------------------------------------------------------------------------
/berks-cookbooks/redisio/libraries/matchers.rb:
--------------------------------------------------------------------------------
1 | # cookbook/libraries/matchers.rb
2 |
3 | if defined?(ChefSpec)
4 | def run_redisio_sentinel(resource_name)
5 | ChefSpec::Matchers::ResourceMatcher.new('redisio_sentinel', :run, resource_name)
6 | end
7 | end
8 |
--------------------------------------------------------------------------------
/berks-cookbooks/redisio/templates/default/redis-sentinel@.service:
--------------------------------------------------------------------------------
1 | [Unit]
2 | Description=Redis persistent key-value database
3 | After=network.target
4 |
5 | [Service]
6 | ExecStart=<%= @bin_path %>/redis-server /etc/redis/sentinel_%i.conf --sentinel --daemonize no
7 | User=redis
8 | Group=redis
9 | LimitNOFILE=<%= @limit_nofile %>
10 |
11 | [Install]
12 | WantedBy=multi-user.target
13 |
--------------------------------------------------------------------------------
/berks-cookbooks/redisio/templates/default/redis.upstart.conf.erb:
--------------------------------------------------------------------------------
1 | description "Start the redis instance on port <%= @port %>"
2 | author "Installed by chef redisio cookbook"
3 |
4 | #start on runlevel [2345]
5 | stop on runlevel [06]
6 |
7 | script
8 | if [ ! -d <%= @piddir %> ]; then
9 | mkdir -p <%= @piddir %>
10 | chown <%= @user %>:<%= @group %> <%= @piddir %>
11 | fi
12 | end script
13 |
14 | # If the job exits, restart it. Give up with more than 10 restarts in 30 seconds.
15 | respawn
16 | respawn limit 10 30
17 |
18 | exec su -s /bin/sh -c 'exec "$0" "$@"' <%= @user %> <%= File.join(@bin_path, 'redis-server') %> <%= @configdir %>/<%= @name %>.conf
19 |
20 |
--------------------------------------------------------------------------------
/berks-cookbooks/redisio/templates/default/redis@.service.erb:
--------------------------------------------------------------------------------
1 | [Unit]
2 | Description=Redis (%i) persistent key-value database
3 | After=network.target
4 |
5 | [Service]
6 | ExecStart=<%= @bin_path %>/redis-server /etc/redis/%i.conf --daemonize no
7 | User=<%= @user %>
8 | Group=<%= @group %>
9 | LimitNOFILE=<%= @limit_nofile %>
10 |
11 | [Install]
12 | WantedBy=multi-user.target
13 |
--------------------------------------------------------------------------------
/berks-cookbooks/redisio/templates/default/sentinel.upstart.conf.erb:
--------------------------------------------------------------------------------
1 | description "Start the redis-sentinel instance on port <%= @port %>"
2 | author "Installed by chef redisio cookbook"
3 |
4 | #start on runlevel [2345]
5 | stop on runlevel [06]
6 |
7 | script
8 | if [ ! -d <%= @piddir %> ]; then
9 | mkdir -p <%= @piddir %>
10 | chown <%= @user %>:<%= @group %> <%= @piddir %>
11 | fi
12 | end script
13 |
14 | # If the job exits, restart it. Give up with more than 10 restarts in 30 seconds.
15 | respawn
16 | respawn limit 10 30
17 |
18 | exec su -s /bin/sh -c 'exec "$0" "$@"' -- <%= @user %> <%= File.join(@bin_path, 'redis-server') %> <%= @configdir %>/<%= @name %>.conf --sentinel
19 |
20 |
--------------------------------------------------------------------------------
/berks-cookbooks/runit/.kitchen.yml:
--------------------------------------------------------------------------------
1 | driver:
2 | name: vagrant
3 |
4 | provisioner:
5 | name: chef_zero
6 |
7 | platforms:
8 | - name: centos-5.11
9 | run_list:
10 | - recipe[yum-epel]
11 | - name: centos-6.6
12 | run_list:
13 | - recipe[yum-epel]
14 | - name: centos-7.0
15 | - name: fedora-21
16 | - name: ubuntu-10.04
17 | run_list:
18 | - recipe[apt]
19 | - name: ubuntu-12.04
20 | run_list:
21 | - recipe[apt]
22 | - name: ubuntu-14.04
23 | run_list:
24 | - recipe[apt]
25 | - name: debian-7.8
26 | run_list:
27 | - recipe[apt]
28 |
29 | suites:
30 | - name: default
31 | run_list:
32 | - recipe[runit_test]
33 | attributes: {}
34 |
35 | - name: service
36 | run_list:
37 | - recipe[runit_test::service]
38 | attributes: {}
39 |
--------------------------------------------------------------------------------
/berks-cookbooks/runit/.rspec:
--------------------------------------------------------------------------------
1 | --default-path test/unit
2 | --color
3 | --format documentation
4 |
--------------------------------------------------------------------------------
/berks-cookbooks/runit/.rubocop.yml:
--------------------------------------------------------------------------------
1 | AlignParameters:
2 | Enabled: false
3 |
4 | Encoding:
5 | Enabled: false
6 |
7 | ClassLength:
8 | Enabled: false
9 |
10 | MethodLength:
11 | Enabled: false
12 |
13 | LineLength:
14 | Enabled: false
15 |
16 | # HashSyntax:
17 | # EnforcedStyle: hash_rockets
18 |
19 | Documentation:
20 | Enabled: false
21 |
22 | PerceivedComplexity:
23 | Enabled: false
24 |
25 | CyclomaticComplexity:
26 | Enabled: false
27 |
28 | Style/FileName:
29 | Enabled: false
30 |
31 | Metrics/AbcSize:
32 | Enabled: false
33 |
34 | AllCops:
35 | Exclude:
36 | - 'Guardfile'
37 | - 'tmp/**/*'
38 | - 'cookbooks/**/*'
39 |
40 | Style/GuardClause:
41 | Enabled: false
42 |
43 | # TODO: remove override for ModuleLength once RunitCookbook::Helpers has been refactored
44 | Metrics/ModuleLength:
45 | Max: 150
46 |
--------------------------------------------------------------------------------
/berks-cookbooks/runit/Berksfile.disabled:
--------------------------------------------------------------------------------
1 | source 'https://supermarket.chef.io'
2 |
3 | metadata
4 |
5 | group :integration do
6 | cookbook 'apt'
7 | cookbook 'yum-epel'
8 | end
9 |
10 | cookbook 'runit_test', path: 'test/cookbooks/runit_test'
11 | cookbook 'runit_other_test', path: 'test/cookbooks/runit_other_test'
--------------------------------------------------------------------------------
/berks-cookbooks/runit/Cheffile:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ruby
2 |
3 | site 'https://supermarket.chef.io/api/v1'
4 |
5 | # loosely coupled prerequisites for test-kitchen
6 | cookbook 'apt'
7 | cookbook 'yum-epel'
8 |
9 | cookbook 'runit', path: '.'
10 | cookbook 'runit_test', path: './test/cookbooks/runit_test'
11 | cookbook 'runit_other_test', path: './test/cookbooks/runit_other_test'
12 |
--------------------------------------------------------------------------------
/berks-cookbooks/runit/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | gem 'berkshelf', '~> 3.0'
4 | gem 'chefspec', '~> 4.0'
5 | gem 'foodcritic', '~> 3.0'
6 | gem 'rubocop'
7 |
8 | group :integration do
9 | gem 'test-kitchen'
10 | gem 'kitchen-vagrant'
11 | gem 'librarian-chef'
12 | end
13 |
14 | group :release do
15 | gem 'emeril'
16 | gem 'rake'
17 | end
18 |
--------------------------------------------------------------------------------
/berks-cookbooks/runit/Rakefile:
--------------------------------------------------------------------------------
1 | require 'rubygems'
2 | require 'bundler'
3 | Bundler.setup
4 |
5 | require 'rake'
6 | require 'foodcritic'
7 | require 'rspec/core/rake_task'
8 |
9 | task default: [:spec]
10 |
11 | RSpec::Core::RakeTask.new(:spec) do |t|
12 | t.pattern = './test/unit{,/*/**}/*_spec.rb'
13 | end
14 |
15 | FoodCritic::Rake::LintTask.new do |t|
16 | t.options = { fail_tags: ['correctness'] }
17 | end
18 |
19 | begin
20 | require 'emeril/rake'
21 | rescue LoadError
22 | puts '>>>>> Emerial gem not loaded, omitting taskes' unless ENV['CI']
23 | end
24 |
--------------------------------------------------------------------------------
/berks-cookbooks/runit/TESTING.md:
--------------------------------------------------------------------------------
1 | Testing
2 | =======
3 | This cookbook has tests in the GitHub repository. To run the tests:
4 |
5 | git clone git://github.com/hw-cookbooks/runit.git
6 | cd runit
7 | bundle install
8 |
9 | There are two kinds of tests, unit tests and integration tests.
10 |
11 | ## Unit Tests
12 |
13 | The resource/provider code is unit tested with rspec. To run these
14 | tests, use rake:
15 |
16 | bundle exec rake spec
17 |
18 | ## Integration Tests
19 |
20 | Integration tests are setup to run under minitest-chef. They are
21 | automatically run under test kitchen.
22 |
23 | bundle exec kitchen test
24 |
25 | This tests the default recipe ("default" configuration), and various
26 | uses of the `runit_service` resource ("service" configuration).
27 |
--------------------------------------------------------------------------------
/berks-cookbooks/runit/files/default/runit.seed:
--------------------------------------------------------------------------------
1 | runit runit/signalinit boolean true
2 |
--------------------------------------------------------------------------------
/berks-cookbooks/runit/files/default/runsvdir:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/r8/vagrant-lamp/92c765a7b189a7fc285671ac7bc13f126d187d6c/berks-cookbooks/runit/files/default/runsvdir
--------------------------------------------------------------------------------
/berks-cookbooks/runit/files/ubuntu-6.10/runsvdir:
--------------------------------------------------------------------------------
1 | start on runlevel-2
2 | start on runlevel-3
3 | start on runlevel-4
4 | start on runlevel-5
5 | stop on shutdown
6 | respawn /usr/sbin/runsvdir-start
7 |
--------------------------------------------------------------------------------
/berks-cookbooks/runit/files/ubuntu-7.04/runsvdir:
--------------------------------------------------------------------------------
1 | start on runlevel 2
2 | start on runlevel 3
3 | start on runlevel 4
4 | start on runlevel 5
5 | stop on shutdown
6 | respawn
7 | exec /usr/sbin/runsvdir-start
8 |
--------------------------------------------------------------------------------
/berks-cookbooks/runit/files/ubuntu-7.10/runsvdir:
--------------------------------------------------------------------------------
1 | start on runlevel 2
2 | start on runlevel 3
3 | start on runlevel 4
4 | start on runlevel 5
5 | stop on shutdown
6 | respawn
7 | exec /usr/sbin/runsvdir-start
8 |
--------------------------------------------------------------------------------
/berks-cookbooks/runit/files/ubuntu-8.04/runsvdir:
--------------------------------------------------------------------------------
1 | start on runlevel 2
2 | start on runlevel 3
3 | start on runlevel 4
4 | start on runlevel 5
5 | stop on shutdown
6 | respawn
7 | exec /usr/sbin/runsvdir-start
8 |
--------------------------------------------------------------------------------
/berks-cookbooks/runit/libraries/default.rb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/r8/vagrant-lamp/92c765a7b189a7fc285671ac7bc13f126d187d6c/berks-cookbooks/runit/libraries/default.rb
--------------------------------------------------------------------------------
/berks-cookbooks/runit/templates/default/log-config.erb:
--------------------------------------------------------------------------------
1 | <% if @config.log_size -%>
2 | s<%= @config.log_size %>
3 | <% end -%>
4 | <% if @config.log_num -%>
5 | n<%= @config.log_num %>
6 | <% end -%>
7 | <% if @config.log_min -%>
8 | N<%= @config.log_min %>
9 | <% end -%>
10 | <% if @config.log_timeout -%>
11 | t<%= @config.log_timeout %>
12 | <% end -%>
13 | <% if @config.log_processor -%>
14 | !<%= @config.log_processor %>
15 | <% end -%>
16 | <% if @config.log_socket -%>
17 | u<%= @config.log_socket %>
18 | <% end -%>
19 | <% if @config.log_prefix -%>
20 | p<%= @config.log_prefix %>
21 | <% end -%>
22 | <% if @config.log_config_append -%>
23 | <%= @config.log_config_append %>
24 | <% end -%>
25 |
--------------------------------------------------------------------------------
/berks-cookbooks/runit/templates/gentoo/runit-start.sh.erb:
--------------------------------------------------------------------------------
1 | #!/sbin/runscript
2 | # Copyright 1999-2006 Gentoo Foundation
3 | # Distributed under the terms of the GNU General Public License v2
4 | # $Header: $
5 |
6 | depend() {
7 | after net
8 | }
9 |
10 | start() {
11 | ebegin "Starting runsvdir"
12 | start-stop-daemon --start --exec /usr/bin/runsvdir \
13 | --background --make-pidfile \
14 | --pidfile /var/run/runsvdir.pid -- <%= node.runit.sv_dir %>
15 | eend $?
16 | }
17 |
18 | stop() {
19 | local ret1 ret2
20 | ebegin "Stopping runsvdir"
21 | start-stop-daemon --stop --oknodo --pidfile /var/run/runsvdir.pid
22 | ret1=$?
23 | eend ${ret1}
24 |
25 | ebegin "Stopping services and logging"
26 | sv shutdown -w 10 <%= node.runit.sv_dir %>/*
27 | ret2=$?
28 | eend ${ret2}
29 |
30 | return $((ret1+ret2))
31 | }
32 |
33 |
--------------------------------------------------------------------------------
/berks-cookbooks/selinux_policy/recipes/default.rb:
--------------------------------------------------------------------------------
1 | # Nothing here
2 |
--------------------------------------------------------------------------------
/berks-cookbooks/selinux_policy/recipes/install.rb:
--------------------------------------------------------------------------------
1 | selinux_policy_install 'install'
2 |
--------------------------------------------------------------------------------
/berks-cookbooks/selinux_policy/resources/boolean.rb:
--------------------------------------------------------------------------------
1 | # A resource for managing SELinux Booleans
2 |
3 | property :value, [true, false]
4 | property :force, [true, false], default: false
5 | property :allow_disabled, [true, false], default: true
6 |
7 | include Chef::SELinuxPolicy::Helpers
8 |
9 | # Set for now, without persisting
10 | action :set do
11 | sebool(new_resource, false)
12 | end
13 |
14 | # Set and persist
15 | action :setpersist do
16 | sebool(new_resource, true)
17 | end
18 |
19 | action_class do
20 | include Chef::SELinuxPolicy::Helpers
21 | end
22 |
--------------------------------------------------------------------------------
/berks-cookbooks/selinux_policy/resources/permissive.rb:
--------------------------------------------------------------------------------
1 | # a resource for managing selinux permissive contexts
2 |
3 | property :allow_disabled, [true, false], default: true
4 |
5 | # Create if doesn't exist, do not touch if port is already registered (even under different type)
6 | action :add do
7 | execute "selinux-permissive-#{new_resource.name}-add" do
8 | command "semanage permissive -a '#{new_resource.name}'"
9 | not_if "semanage permissive -l | grep '^#{new_resource.name}$'"
10 | only_if { use_selinux }
11 | end
12 | end
13 |
14 | # Delete if exists
15 | action :delete do
16 | execute "selinux-port-#{new_resource.name}-delete" do
17 | command "semanage permissive -d '#{new_resource.name}'"
18 | not_if "semanage permissive -l | grep '^#{new_resource.name}$'"
19 | only_if { use_selinux }
20 | end
21 | end
22 |
23 | action_class do
24 | include Chef::SELinuxPolicy::Helpers
25 | end
26 |
--------------------------------------------------------------------------------
/berks-cookbooks/seven_zip/Gemfile:
--------------------------------------------------------------------------------
1 | source 'http://rubygems.org'
2 |
3 | gem 'cookstyle'
4 | gem 'foodcritic'
5 | gem 'rspec-expectations'
6 | gem 'rspec-mocks'
7 | gem 'rubocop'
8 | gem 'stove'
9 |
--------------------------------------------------------------------------------
/berks-cookbooks/seven_zip/rakefile.rb:
--------------------------------------------------------------------------------
1 | require 'cookstyle'
2 | require 'foodcritic'
3 | require 'rspec/core/rake_task'
4 | require 'rubocop/rake_task'
5 |
6 | task default: [:rubocop, :foodcritic, :spec]
7 |
8 | FoodCritic::Rake::LintTask.new do |t|
9 | t.options = {
10 | cookbook_paths: '.',
11 | search_gems: true,
12 | }
13 | end
14 |
15 | RSpec::Core::RakeTask.new do |task|
16 | task.pattern = 'spec/**/*_spec.rb'
17 | task.rspec_opts = ['--color', '-f documentation', '-tunit']
18 | end
19 |
20 | RuboCop::RakeTask.new
21 |
22 | begin
23 | require 'stove/rake_task'
24 | Stove::RakeTask.new
25 | rescue LoadError => e
26 | puts ">>> Gem load error: #{e}, omitting #{task.name}" unless ENV['CI']
27 | end
28 |
--------------------------------------------------------------------------------
/berks-cookbooks/seven_zip/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'rspec/expectations'
2 | require 'chefspec'
3 | require 'chefspec/berkshelf'
4 |
5 | RSpec.configure do |config|
6 | config.run_all_when_everything_filtered = true
7 | config.filter_run :focus
8 | config.order = 'random'
9 | config.platform = 'windows'
10 | config.version = '2012R2'
11 | ENV['ProgramFiles(x86)'] = 'C:\Program Files (x86)' # assume 64bit OS
12 | ENV['ProgramFiles'] = 'C:\Program Files'
13 | ENV['WINDIR'] = 'C:\Windows'
14 | ENV['SYSTEMDRIVE'] = 'C:\\'
15 | end
16 |
--------------------------------------------------------------------------------
/berks-cookbooks/seven_zip/test/fixtures/cookbooks/test_archive/attributes/default.rb:
--------------------------------------------------------------------------------
1 | default['test_archive']['source'] = 'https://www.7-zip.org/a/7z1805-src.7z'
2 | default['test_archive']['overwrite'] = true
3 | default['test_archive']['checksum'] = 'd9acfcbbdcad078435586e00f73909358ed8d714d106e064dcba52fa73e75d83'
4 |
--------------------------------------------------------------------------------
/berks-cookbooks/seven_zip/test/fixtures/cookbooks/test_archive/metadata.rb:
--------------------------------------------------------------------------------
1 | name 'test_archive'
2 | version '1.0.0'
3 | depends 'seven_zip'
4 |
--------------------------------------------------------------------------------
/berks-cookbooks/seven_zip/test/fixtures/cookbooks/test_archive/recipes/default.rb:
--------------------------------------------------------------------------------
1 | # This recipe is for testing the seven_zip archive provider
2 | include_recipe 'seven_zip'
3 |
4 | seven_zip_archive 'test_archive' do
5 | path 'C:\seven_zip_source'
6 | source node['test_archive']['source']
7 | overwrite node['test_archive']['overwrite']
8 | checksum node['test_archive']['checksum']
9 | timeout 30
10 | end
11 |
12 | seven_zip_archive 'extract_with_spaces' do
13 | path 'C:\Program Files\seven_zip_source'
14 | source node['test_archive']['source']
15 | overwrite node['test_archive']['overwrite']
16 | checksum node['test_archive']['checksum']
17 | end
18 |
--------------------------------------------------------------------------------
/berks-cookbooks/seven_zip/test/integration/default/serverspec/default_spec.rb:
--------------------------------------------------------------------------------
1 | require 'spec_helper'
2 |
3 | describe package('7-zip 18.05 (x64 edition)') do
4 | it 'is installed' do
5 | expect(subject).to be_installed
6 | end
7 | end
8 |
9 | describe file('C:\seven_zip_source') do
10 | it 'is a directory' do
11 | expect(subject).to be_directory
12 | end
13 |
14 | it 'should contain only extracted files' do
15 | expect(Dir.entries(subject.name).sort).to eq %w(. .. Asm C CPP DOC)
16 | end
17 | end
18 |
19 | describe file('C:\Program Files\seven_zip_source') do
20 | it 'is a directory' do
21 | expect(subject).to be_directory
22 | end
23 |
24 | it 'should contain only extracted files' do
25 | expect(Dir.entries(subject.name).sort).to eq %w(. .. Asm C CPP DOC)
26 | end
27 | end
28 |
--------------------------------------------------------------------------------
/berks-cookbooks/seven_zip/test/integration/helpers/serverspec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | require 'serverspec'
2 |
3 | set :backend, :cmd
4 | set :os, family: 'windows'
5 |
--------------------------------------------------------------------------------
/berks-cookbooks/ulimit/.foodcritic:
--------------------------------------------------------------------------------
1 | ~FC059
2 |
--------------------------------------------------------------------------------
/berks-cookbooks/ulimit/attributes/default.rb:
--------------------------------------------------------------------------------
1 | default['ulimit']['pam_su_template_cookbook'] = nil
2 | default['ulimit']['users'] = Mash.new
3 | default['ulimit']['security_limits_directory'] = '/etc/security/limits.d'
4 | default['ulimit']['ulimit_overriding_sudo_file_name'] = 'sudo'
5 | default['ulimit']['ulimit_overriding_sudo_file_cookbook'] = nil
6 |
--------------------------------------------------------------------------------
/berks-cookbooks/ulimit/files/sudo:
--------------------------------------------------------------------------------
1 | #%PAM-1.0
2 |
3 | auth required pam_env.so readenv=1 user_readenv=0
4 | auth required pam_env.so readenv=1 envfile=/etc/default/locale user_readenv=0
5 | session required pam_limits.so
6 | @include common-auth
7 | @include common-account
8 | @include common-session-noninteractive
9 |
10 |
--------------------------------------------------------------------------------
/berks-cookbooks/ulimit/templates/domain.erb:
--------------------------------------------------------------------------------
1 | <%
2 | node.run_state[:ulimit][@domain].each do |item, entries|
3 | entries.each do |type, value|
4 | -%>
5 | <%= @domain %> <%= type %> <%= item %> <%= value %>
6 | <%
7 | end
8 | end
9 | -%>
10 |
--------------------------------------------------------------------------------
/berks-cookbooks/windows/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | Please refer to
2 | https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD
3 |
--------------------------------------------------------------------------------
/berks-cookbooks/windows/recipes/default.rb:
--------------------------------------------------------------------------------
1 | #
2 | # Author:: Seth Chisamore ()
3 | # Cookbook:: windows
4 | # Recipe:: default
5 | #
6 | # Copyright:: 2011-2018, Chef Software, Inc.
7 | #
8 | # Licensed under the Apache License, Version 2.0 (the "License");
9 | # you may not use this file except in compliance with the License.
10 | # You may obtain a copy of the License at
11 | #
12 | # http://www.apache.org/licenses/LICENSE-2.0
13 | #
14 | # Unless required by applicable law or agreed to in writing, software
15 | # distributed under the License is distributed on an "AS IS" BASIS,
16 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 | # See the License for the specific language governing permissions and
18 | # limitations under the License.
19 | #
20 |
21 | Chef::Log.warn('The windows::default recipe has been deprecated. The gems previously installed in this recipe ship in the Chef MSI.')
22 |
--------------------------------------------------------------------------------
/berks-cookbooks/yum-epel/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | Please refer to
2 | https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD
3 |
--------------------------------------------------------------------------------
/berks-cookbooks/yum-epel/attributes/default.rb:
--------------------------------------------------------------------------------
1 | default['yum-epel']['repos'] = %w(
2 | epel
3 | epel-debuginfo
4 | epel-source
5 | epel-testing
6 | epel-testing-debuginfo
7 | epel-testing-source
8 | )
9 |
--------------------------------------------------------------------------------
/berks-cookbooks/yum/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | Please refer to
2 | https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD
3 |
--------------------------------------------------------------------------------
/berks-cookbooks/yum/metadata.json:
--------------------------------------------------------------------------------
1 | {"name":"yum","version":"3.13.0","description":"Configures various yum components on Red Hat-like systems","long_description":"","maintainer":"Chef Software, Inc.","maintainer_email":"cookbooks@chef.io","license":"Apache 2.0","platforms":{"amazon":">= 0.0.0","centos":">= 0.0.0","fedora":">= 0.0.0","oracle":">= 0.0.0","redhat":">= 0.0.0","scientific":">= 0.0.0","zlinux":">= 0.0.0"},"dependencies":{},"recommendations":{},"suggestions":{},"conflicting":{},"providing":{},"replacing":{},"attributes":{},"groupings":{},"recipes":{}}
--------------------------------------------------------------------------------
/cookbooks/vagrant_main/README.md:
--------------------------------------------------------------------------------
1 | Description
2 | ===========
3 |
4 | Requirements
5 | ============
6 |
7 | Attributes
8 | ==========
9 |
10 | Usage
11 | =====
12 |
13 |
--------------------------------------------------------------------------------
/cookbooks/vagrant_main/attributes/default.rb:
--------------------------------------------------------------------------------
1 | override['apache']['mpm'] = 'prefork'
2 |
3 | if node['platform'] == 'ubuntu' && node['platform_version'].to_f >= 16.04
4 | override['mysql']['version'] = '5.7'
5 | else
6 | override['mysql']['version'] = '5.6'
7 | end
8 |
9 | override['mysql']['port'] = '3306'
10 | override['mysql']['initial_root_password'] = 'vagrant'
11 |
12 | override['percona']['apt']['keyserver'] = 'hkp://keyserver.ubuntu.com:80'
13 |
14 | override['nodejs']['repo'] = 'https://deb.nodesource.com/node_8.x'
15 |
16 | override['postfix']['main']['relayhost'] = 'localhost:1025'
17 |
18 | override['poise-python']['options']['pip_version'] = '9.0.3'
19 |
--------------------------------------------------------------------------------
/cookbooks/vagrant_main/files/default/phpmyadmin.deb.conf:
--------------------------------------------------------------------------------
1 | phpmyadmin phpmyadmin/mysql/method select TCP/IP
2 | phpmyadmin phpmyadmin/remote/port string 3306
3 | phpmyadmin phpmyadmin/remote/newhost string 127.0.0.1
4 | phpmyadmin phpmyadmin/remote/host select 127.0.0.1
5 | phpmyadmin phpmyadmin/reconfigure-webserver multiselect apache2
6 | phpmyadmin phpmyadmin/dbconfig-install boolean true
7 | phpmyadmin phpmyadmin/mysql/admin-user string root
8 | phpmyadmin phpmyadmin/mysql/admin-pass password vagrant
9 | phpmyadmin phpmyadmin/db/app-user string root
10 | phpmyadmin phpmyadmin/mysql/app-pass password vagrant
11 | phpmyadmin phpmyadmin/app-password-confirm password vagrant
12 |
--------------------------------------------------------------------------------
/cookbooks/vagrant_main/metadata.rb:
--------------------------------------------------------------------------------
1 | name "vagrant_main"
2 | maintainer "Sergey Storchay"
3 | maintainer_email "r8@r8.com.ua"
4 | license "MIT"
5 | description "Configures vagrant virtual machine"
6 | long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
7 | version "0.0.1"
8 |
9 | depends "apache2"
10 | depends "apt"
11 | depends "build-essential"
12 | depends "composer"
13 | depends "git"
14 | depends "magento-toolbox"
15 | depends "mailhog"
16 | depends "mysql"
17 | depends "nodejs"
18 | depends "percona"
19 | depends "phing"
20 | depends "php"
21 | depends "poise-python"
22 | depends "postfix"
23 | depends "redisio"
24 |
--------------------------------------------------------------------------------
/cookbooks/vagrant_main/recipes/magento.rb:
--------------------------------------------------------------------------------
1 | include_recipe "magento-toolbox::n98-magerun"
2 | include_recipe "magento-toolbox::modman"
3 | include_recipe "magento-toolbox::modgit"
4 |
--------------------------------------------------------------------------------
/cookbooks/vagrant_main/recipes/nodejs.rb:
--------------------------------------------------------------------------------
1 | include_recipe "build-essential"
2 | include_recipe "nodejs"
3 | include_recipe "nodejs::npm"
4 |
5 | # Set npm global prefix
6 | execute 'npm-set-prefix' do
7 | command 'npm config set prefix /usr/local'
8 | end
9 |
10 | # Install npm modules
11 | %w{ grunt-cli bower less csslint }.each do |a_package|
12 | nodejs_npm a_package
13 | end
14 |
--------------------------------------------------------------------------------
/cookbooks/vagrant_main/recipes/wordpress.rb:
--------------------------------------------------------------------------------
1 | include_recipe "poise-python"
2 |
3 | # Install wp2github
4 | python_package "wp2github"
5 |
6 | # Install wp-cli
7 | remote_file "/usr/local/bin/wp" do
8 | source 'https://raw.github.com/wp-cli/builds/gh-pages/phar/wp-cli.phar'
9 | mode 0755
10 | action :create_if_missing
11 | end
12 |
--------------------------------------------------------------------------------
/cookbooks/vagrant_main/templates/default/innodb.conf.erb:
--------------------------------------------------------------------------------
1 | innodb_file_per_table = 1
2 |
--------------------------------------------------------------------------------
/cookbooks/vagrant_main/templates/default/webgrind.conf.erb:
--------------------------------------------------------------------------------
1 | Alias /webgrind "/var/www/webgrind"
2 |
3 | Options FollowSymLinks
4 | AllowOverride None
5 | Require all granted
6 |
7 |
--------------------------------------------------------------------------------
/data_bags/sites/local.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "local",
3 | "host": "local.test",
4 | "aliases": [
5 | "www.local.test",
6 | "test.com",
7 | "www.test.com"
8 | ]
9 | }
10 |
--------------------------------------------------------------------------------
/nodes/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/r8/vagrant-lamp/92c765a7b189a7fc285671ac7bc13f126d187d6c/nodes/.gitkeep
--------------------------------------------------------------------------------