Releases: sous-chefs/apache2
v3.3.0 (2017-04-11)
- [GH-478] Added support for the amazon platform_family, outside of rhel
- [GH-474] Update Berksfile to allow fetching of newer
- [GH-473] Update copyright header format
- [GH-472] foodcritic: add sous-chefs rules
- add CODE_OF_CONDUCT
- [GH-471] FCGI paths should not be messed with on RHEL/CenOS 7. CentOS 7 (and recent Fedoras) have Apache 2.4, where FCGI socket path and shared memory path is managed adequately without further involvment neccessary (subdirectory is created under /var/run/httpd).
- [GH-470] Remove support for EOL Fedora < 18 / FreeBSD 9
- [GH-465] Testing updates
- [GH-469] Use the default cookbook style rules
- [GH-460] Serverspec to InSpec migration
- [GH-461] Update comment header format & other cookstyle fixes
- [GH-454] Test in Travis with Chef-DK and a Rakefile
- [GH-455] openSUSE Leap has it's own platform name
- [GH-279] leave stubs for rhel family
conf.dfiles to avoid conflicts on package upgrade; no longer removeconf.d, just don't use it - [GH-427] Add option to configure custom log level
- [GH-450] Ensure the lock_dir is owned by www-data for Apache 2.2 and 2.4 on Debian/Ubuntu
- Remove mod_auth_openid tests, as it is not part of the ASF release and plan to drop support for it and right now it is failing our tests
- [GH-440] Update default values in
apache.preforksection of README - [GH-443] fixed typo in copyright year
- Test on the latest chef with chef-zero
- Update supported platforms to Ubuntu 16.04, Debian 8.4, Centos 7.2; deprecating Ubuntu 12.04
- [GH-422] Fix uniq for nil:NilClass error introduced in 3.2.2
- [GH-423] allow for apache 2.4 usage on rhel < 7.0
- Cookbook is now part of the sous-chefs, but still maintained by the same folks
- mod_perl: No longer install libapache2-mpm-prefork
- mod_php: renamed mod_php5 to more generic mod_php; using php 7.0 where available
v3.2.2 (2016-04-13)
- [GH-420] Allow auto-conversion if either of
apache.listen_portsorapache.listen_addressesare set rather than '&&'. This ensures conversion occurs if only one of the two is set.
v3.2.1 (2016-04-11)
- [GH-225] notify
restartinstead ofreloadservice onapache_conf,apache_config - Update to foodcritic 6
v3.2.0 (2016-03-26)
- [GH-378] Deprecates
apache.listen_addressesandapache.listen_portsinfavor of [GH-409] - [GH-409]
apache.listennow accepts an array ofaddr:portstrings - [GH-358] FreeBSD: Update 10.1 support; Adds php 5.6 in collaboration with sous-chefs/php#119
- [GH-394] Have
apache.prefork.serverlimitset ServerLimit directive on 2.4 - [GH-363] Escape '.' in regex for .htaccess/.htpasswd files
- [GH-365] Force log directory creation to be recursive
- [GH-368] Change the service creation to use the
apache.service_nameattribute throughout - [GH-374] Make metadata.rb compatible with chef versions < 12.
- [GH-382] Fixed typo in node['platform_family'] for NameError in
mod_proxy_html - [GH-369] README: Added on Ubuntu
mod_fastcgirequiresmultiverseapt repository to enabled. - [GH-381] README: Add missing backtick
- [GH-384] README: Fix names for a2enconf and a2disconf
- [GH-393] README: mention availability of
mod_actionssupport - [GH-383] Debian: Add possibility to use other releases via
apache.default_release - [GH-377] Restart service when including
mod_headersto allow healing of failed service because of missing directives. - [GH-416] Change the default of
apache.mod_fastcgi.install_methodto 'package' all platforms, assourceis no longer available. - [GH-401] Move
mod_deflatetoapache.default_modulesand no longer force installation ondebianfamilies. - [GH-386] Do not install an extra mod_ssl package on SUSE Linux Enterprise
- [GH-335] Do not hardcoded reload/restart on more modern rhel platforms, allowing systemd on CentOS 7
- [GH-375] Install package
mod_ldapon CentOS 7 (triggered byapache.version== 2.4) - Update
apache.mod_ssl.cipher_suiteto latest from https://bettercrypto.org/ - README: Re-organize README to make it easier to find usage and remove old references.
- Added new standard and missing modules (Note: these may not be available natively on all operating systems)
- mod_http2 - Support for the HTTP/2 transport layer. (available since 2.4.17)
- mod_authnz_fcgi - Enable FastCGI authorizer applications to authenticate and/or authorize clients. (available since 2.4.10)
- mod_cern_meta - CERN httpd metafile semantics
- mod_ident - RFC 1413 ident lookups
- mod_privileges - Support for Solaris privileges and for running virtual hosts under different user IDs.
- mod_socache_dc - Distcache based shared object cache provider.
- mod_version - Version dependent configuration
- mod_watchdog - Provides infrastructure for other modules to periodically run tasks
v3.1.0 (2015-05-25)
- [GH-315] Fix
apache.default_site_name.conf extension references to ensure deletion - [GH-258] Use
apache.default_site_namefor consistency, minimize hardcoding of filenames - [GH-259] Add
&& sleep 1to end of apache restart command on rhel-based systems using apache2.2 - [GH-271] Remove FreeBSD 9.x, Red Hat and CentOS 5.x and OpenSUSE 11.x Series from tests and focus on newer releases
- [GH-276] Add psych gem to development gems
- [GH-293] Add
apache.mod_fastcgi.install_methodflag to allow install of mod_fastcgi from source (even on Debian family) - [GH-285] Made
apache.devel_packageconfigurable based on platform, including support for Amazon Linux. - [GH-316] Update Opscode references to Chef
- [GH-318] Apply default recipe in all definitions
- [GH-320] Add attribute to adjust
apache.default_site_port - [GH-321] Fix issue with default_site name in not_if guards
- [GH-322] Add
apache.mod_ssl.pkg_nameto allow custom mod_ssl package names. Set defaults for supported platforms including Amazon Linux - [GH-323] Don't create the default site configuration file in
sites-availableunless it is enabled. - [GH-324] Add
apache.mod_ssl.portto set the default ssl port to something other than 443 - [GH-328] Add the ability to pass in a pipe as to log
- [GH-332]
SSLStrictSNIVHostCheckis only written to config if enabled to avoid breaking apache prior to 2.2.12. - [GH-334] Removed
iptables,god-monitor, andlogrotaterecipes to avoid having external dependencies. These services should be managed in a wrapper cookbook going forward. - [GH-339] Allow custom names for php so_filename (
node['apache']['mod_php5']['so_filename'])
v3.0.1 (2015-02-11)
- [GH-310] Ubuntu Apache 2.2 requires the lock_dir to be owned by www-data
- [GH-309] Clarify that apache.version is a string
- [GH-305] Restart service after MPM changes
- [GH-304] Don't install systemd module on Amazon Linux
- [GH-298] Add non-threaded MPM break notice for PHP users
- [GH-296] Create lock_dir automatically
v3.0.0 (2014-11-30)
Major version update because of SSL Improvements and new platform MPM and Version defaults.
- [GH-286] Refactor MPM and Apache version defaults: default is now apache 2.4
- [GH-281] mod_ssl: Disable SSLv3 by default to protect against POODLE attack (CVE-2014-3566)
- [GH-280] mod_ssl: Major update with modern Cipher Suite, and best practices.
Updated to a more modern defaultapache.mod_ssl.cipher_suite.
Added the following additional mod_ssl attributesapache.mod_ssl.honor_cipher_orderapache.mod_ssl.insecure_renegotiationapache.mod_ssl.strict_sni_vhost_checkapache.mod_ssl.session_cache_timeoutapache.mod_ssl.compressionapache.mod_ssl.use_staplingapache.mod_ssl.stapling_responder_timeoutapache.mod_ssl.stapling_return_responder_errorsapache.mod_ssl.stapling_cacheapache.mod_ssl.pass_phrase_dialogapache.mod_ssl.mutexapache.mod_ssl.directives
- [GH-278] Improved chefspec tests execution time
- [GH-277] Optimize files watching for Guard on Win32 platform
- [GH-270] Don't attempt start until after configuration is written
- [GH-268] Now uses chefspec 4.1
- [GH-267] Use Supermarket as the Berkshelf 3 source
- [GH-266] Rubocop based ruby style/syntax improvements
- [GH-264] mod_ssl: Add new attribute for to be ready to any custom directive
- [GH-249] Don't prepend Apache log path when requesting error logging to syslog
- [GH-247] Explicitly include mod_ldap before mod_authnz_ldap
- [GH-243] Expand mpm options for different distros/versions.
- [GH-239] Added
apache.mod_php5.install_methodattribute defaults topackage. Install packages unless PHP is compiled from source. - OneHealth Solutions was acquired by Viverae
- Remove ArchLinux pacman as a dependency and handle similar to apt, yum, zypper
- Adjust ubuntu apache 2.4 docroot_dir to match package (from /var/www to /var/www/html)
- [GH-238] Bump service config syntax check guard timeout to 10 seconds
- [GH-235] Removed
apache2::mpm_itkwhich is not part of core and therefore should be its own cookbook - [GH-234] /var/run/httpd/mod_fcgid directory now belongs to apache on Fedora/RHEL systems.
- [GH-233] Default web_app template should return 503 status code when maintenance file is present
- [GH-232] Cookbook now deletes a2* if they are symlinks before dropping template versions
- [GH-222] Set TraceEnable to off by default.
- [GH-213] Adjust chefspec to use the package resource on FreeBSD (previously freebsd_package)
- [GH-212] New attribute apache.locale which sets LANG. defaults to 'C'
- [GH-210] Clarify web_app definition usage around configuration templates.
- [GH-208]
apache_confnow acceptssourceand
v2.0.0 (2014-08-06)
-
[GH-204] mod_auth_openid: Added
apache.mod_auth_openid.versionattribute -
FreeBSD support has been improved with the release of chef 11.14.2, portsnap is no longer used in favor of pkgng.
-
[GH-157] - Apache will only be started when a configuration test passes, this allows the chef run to fix any broken configuration without failing the chef run.
-
apache.log_dirdirectory is now 0755 on all platforms (including the debian platform family) -
[GH-166, GH-173] -
conf.dis no longer used and replaced byconf-availableandconf-enabledmanaged via thea2enconfanda2disconfscripts -
[GH-166, GH-173] - All configuration files need to end in
.conffor them to be loaded -
[GH-173] - Perl is a required package on all platforms to support the a2* scripts as we now use the debian versions directly.
-
[GH-193] - per MPM settings:
maxclientsis nowmaxrequestworkers -
[GH-194] - per MPM settings:
maxrequestsperchildis nowmaxconnectionsperchild -
[GH-161] - Added support for CentOS 7
-
[GH-180] - Improved SuSE support
-
[GH-100] - Apache HTTP 2.4 support
This provides Apache 2.4 support in a backwards compatible way.
It adds the following new attributes:apache.version- This defaults to2.2and if changed to2.4; it triggers and assumes 2.4 packages will be installed.apache.mpm- In 2.4 mode, this specifies which mpm to install. Default isprefork.apache.run_dirapache.lock_dirapache.libexec_dirreplacesapache.libexecdirapache.prefork.maxrequestworkersreplacesapache.prefork.maxclientsapache.prefork.maxconnectionsperchildreplacesapache.prefork.maxrequestsperchildapache.worker.threadlimitapache.worker.maxrequestworkersreplacesapache.worker.maxclientsapache.worker.maxconnectionsperchildreplacesapache.worker.maxrequestsperchildapache.event.startserversapache.event.serverlimitapache.event.minsparethreadsapache.event.maxsparethreadsapache.event.threadlimitapache.event.threadsperchildapache.event.maxrequestworkersapache.event.maxconnectionsperchildapache.itk.startserversapache.itk.minspareserversapache.itk.maxspareserversapache.itk.maxrequestworkersapache.itk.maxconnectionsperchild
Apache 2.4 Upgrade Notes:
Since the changes between apache 2.2 and apache 2.4 are pretty significant, we are unable to account for all changes needed for your upgrade. Please take a moment to familiarize yourself with the Apache Software Foundation provided upgrade documentation before attempting to use this cookbook with apache 2.4. See http://httpd.apache.org/docs/current/upgrading.html
- This cookbook does not automatically specify which version of apache to install. We are at the mercy of the
packageprovider. It is important, however, to make sure that you configure theapache.versionattribute to match. For your convenience, we try to set reasonable defaults based on different platforms in our test suite. mod_proxy- In 2.4 mode,apache.proxy.order,apache.proxy.deny_from,apache.proxy.allow_fromare ignored, as the attributes can not be supported in a backwards compatible way. Please useapache.proxy.requireinstead.
v1.11.0 (2014-07-25)
- GH-152 - Checking if server_aliases is defined in example
- GH-106 - Only turn rewrite on once in web_app.conf.erb
- GH-156 - Correct mod_basic/digest recipe names in README
- Recipe iptables now includes the iptables::default recipe
- Upgrade test-kitchen to latest version
- Replaced minitest integration tests with serverspec tests
- Added chefspec tests