Releases: sous-chefs/haproxy
Releases · sous-chefs/haproxy
10.0.0
- Add configuration test function to the service resource - @bmhughes
- Fix generating multiple actions from the service resource - @bmhughes
- Kitchen test with CentOS 8/8 stream - @bmhughes
- Fix IUS repo causing a run failure on an unsupported platform - @bmhughes
- Move configuration resource creation into resource helper module - @bmhughes
[v9.1.0] (2020-10-07)
Added
- testing for haproxy 2.2
Removed
- testing for haproxy 1.9 & 2.1
[v9.0.1] (2020-09-15)
Added
- added lua compilation flags to
haproxy_installresource
Fixed
- resolved cookstyle error: libraries/helpers.rb:19:24 refactor:
ChefCorrectness/InvalidPlatformFamilyInCase - Updated IUS repo url to
https://repo.ius.io/ius-release-el7.rpm
Changed
- Turn on unified_mode for all resources
[v9.0.0] (2020-02-21)
Changed
- Removed
depends_onbuild-essential, as this is now in Chef Core
Fixed
- Cookstyle fixes for cookstyle version 5.20
[v8.3.0] (2020-01-09)
Added
- on
haproxy_installepel is now a configurable option
Changed
- Migrated testing to github actions
Fixed
- ius repo will only echo out if enabled
[v8.2.0] (2019-12-23)
Added
fastcgiresource to support FastCGI applications
Changed
- Default source install version is haproxy 2.1
Fixed
- Bug with single newline between resources when multiple of the same type are defined
Removed
.foodcriticas it is no longer run by deliver local..rubocop.ymlas no longer required.
[v8.1.1] (2019-10-02)
Changed
- Updated
config_defaultsresourccestatsproperty default value to empty hash. - Updated metadata.rb chef_version to >=13.9 due to resource
description.
[v8.1.0] (2019-06-24)
Changed
- Updated build target to linux-glibc for haproxy 2.0 compatibility.
- Updated integration tests to cover haproxy 2.0.
- Moved install resource target_os check to libraries.
[v8.0.0] (2019-05-29)
Added
- The bind config hash joins with a space instead of a colon.
- The peer resource.
- The mailer resource.
[v7.1.0] (2019-04-16)
Changed
- Clean up unused templates and files.
Fixed
- Name conflict with systemd_unit in service resource.
[v7.0.0] (2019-04-10)
Added
healthto allowed values formodeonfrontend,backend,listen,default.apt-updatefor debian platforms.- ius repo for CentOS and Redhat package installations (resolves #348).
Changed
- Clean up unit and integration test content regular expressions.
- Move system command to a helper.
- Support only systemd init systems.
Removed
- Remove
poise_servicedependency in favor of systemd_unit.
Fixed
- Fix cookbook default value in
config_global.
[v6.4.0] (2019-03-20)
Changed
- Move resource documentation to dedicated folder with md per resource.
- Rename haproxy_cache
nameproperty ascache_name.
Fixed
- Source installs on CentOS 6.
[v6.3.0] (2019-02-18)
Added
- Haproxy_cache resource for caching small objects with HAProxy version >=1.8.
Changed
- Expand integration test coverage to all stable and LTS HAProxy versions.
- Documentation - clarify extra_options hash string => array option.
- Clarify the supported platforms - add AmazonLinux 2, remove fedora & freebsd.
[v6.2.7] (2019-01-10)
Added
- Test for appropriate spacing from start of line and end of line.
hash_typeparam tohaproxy_backend,haproxy_listen, andhaproxy_config_defaultsresources.reqirepandreqrepparams tohaproxy_backend,haproxy_frontend, andhaproxy_listenresources.sensitiveparam tohaproxy_install; set to false to show diff output during Chef run.
Changed
- Allow passing an array to
haproxy_listen'shttp_requestparam.
Fixed
- Fix ordering for
haproxy_listen:acldirectives should be applied beforehttp-request.
[v6.2.6] (2018-11-05)
Changed
- Put
http_requestrules before theuse_backend.
[v6.2.5] (2018-10-09)
Added
- rspec examples for resource usage.
Removed
- Chef-12 support.
- CPU cookbook dependency.
Fixed
- Systemd wrapper, the wrapper is no longer included with haproxy versions greater than 1.8.
[v6.2.4] (2018-09-19)
Added
- Server property to listen resource and config template.
[v6.2.3] (2018-08-03)
Removed
- A few resource default values so they can be specified in the haproxy.cfg default section and added service reload exmample to the readme for config changes.
[v6.2.2] (2018-08-03)
Changed
- Made
haproxy_installsource_urlproperty dynamic withsource_versionproperty and removed the need to specify checksum #307.
[v6.2.1] (2018-08-01)
Added
- Compiling from source crypt support #305.
[v6.2.0] (2018-05-11)
Changed
- Require Chef 12.20 or later.
- Uses the build_essential resource not the default recipe so the cookbook can be skipped entirely if running on Chef 14+.
[v6.1.0] (2018-04-12)
Breaking changes
Added
haproxy_serviceresource see test suites for usage.- Support for haproxy 1.8.
- Test haproxy version 1.8.7 and 1.7.8.
- Test on chef-client version 13.87 and 14.
- Notes on how we generate the travis.yml list.
Changed
- Require Chef 12.20 or later.
- Uses the build_essential resource not the default recipe so the cookbook can be skipped entirely if running on Chef 14+.
- Simplify the kitchen matrix.
- Use default action in tests (:create).
- Set the use_systemd property from the init package system.
- Adding in systemd for SUSE Linux.
Removed
kitchen.dokken.ymlsuites and inherit from kitchen.yml.- Amazon tests until a new dokken image is produced that is reliable.
Fixed
- Source comparison.
[v6.0.0] (2018-03-28)
Removed
compat_resourcecookbok dependency and push the required Chef version to 12.20
[v5.0.4] (2018-03-28)
Changed
- Make 1.8.4 the default installed version (#279)
- Use dokken docker images
- Update tests for haproxy service
- tcplog is now a valid input for the
haproxy_config_defaultsresource (#284) - bin prefix is now reflected in the service config. (#288, #289)
[v5.0.3] (2018-02-02)
Fixed
foodcriticwarning for not definingname_property.
[v5.0.2] (2017-11-29)
Fixed
- Typo in listen section, makes previously unprintable expressions, printable in http-request, http-response and
default_backend.
[v5.0.1] (2017-08-10)
Removed
- useless blank space in generated config file haproxy.cfg
[v5.0.0] (2017-08-07)
Added
- Option for install only #251.
Changed
- Updating service to use cookbook template.
- updating to haproxy 1.7.8, updating
source_versionin test files(kitchen,cookbook, etc) - updating properties to use
new_resource
Fixed
logpropertyinglobalresource can now be of typeArrayorString. This fixes #252- fixing supports line #258
[v4.6.1] (2017-08-02)
Changed
- Reload instead of restart on config change
- Specify -sf argument last to support haproxy < 1.6.0
[v4.6.0] (2017-07-13)
Added
[v4.5.0] (2017-06-29)
Added
resolverresource (#240)
[v4.4.0] (2017-06-28)
Added
optionas an Arraypropertyforbackendresource. This fixes #234- Synced Debian/Ubuntu init script with latest upstream package changes
[v4.3.1] (2017-06-13)
Added
- Oracle Linux 6 support
Removed
- Scientific linux support as we don't have a reliable image
[v4.3.0] (2017-05-31)
Added
- Chefspec Matchers for the resources defined in this cookbook.
modeproperty tobackendandfrontendresources.maxconntoglobalresource.
Removed
default_backendas a required property on thefrontendresource.
[v4.2.0] (2017-05-04)
Added
- In
aclresource, usage:test/fixtures/cookbooks/test/recipes/config_acl.rb - In
use_backendresource, usage:test/fixtures/cookbooks/test/recipes/config_acl.rb aclanduse_backendtolistenresource.- Amazon Linux as a supported platform.
Changed
- Pinned
build-essential,>= 8.0.1 - Pinned
poise-service,>= 1.5.1 - Cleaned up arrays in
templates/default/haproxy.cfg.erb
Fixed
- Init script for Amazon Linux.
BREAKING CHANGES
- This version removes
stats_socket,stats_uriandstats_timeoutproperties from thehaproxy_globalandhaproxy_listenresources in favour of using a hash to pass configuration options.
[v4.1.0] (2017-05-01)
Added
userlistresource, to see usage:test/fixtures/cookbooks/test/recipes/config_1_userlist.rb- chef-search example in:
test/fixtures/cookbooks/test/recipes/config_backend_search.rb - Multiple addresses and ports on listener and frontend (#205)
Changed
- Updating source install test to take node attributes as haproxy.org is slow.
Fixed
haproxy_retriesinhaproxy_config_defaultsresource
[v4.0.2] (2017-04-21)
Fixed
[v4.0.1] (2017-04-20)
Added
- Updating README.md
- Adding compat_resource for chef-12 support
- Improvement when rendering the configuration file (#196)
[v4.0.0] (2017-04-18)
COMPATIBILIY WARNING
- This version removes the existing recipes, attributes, and instance provider in favor of the new haproxy_install and haproxy_ configuration resources. Why not just leave them in place? Well unfortunately they were utterly broken for anything other than the most trivial usage. Rather than continue the user pain we've opted to remove them and point users to a more modern installation method. If you need...
Release v4.0.1
- Updating README.md
- Adding compat_resource for chef-12 support
- Improved rendering of the configuration file [#96]
Release v4.0.0
- COMPATIBILIY WARNING!!!! This version removes the existing recipes, attributes, and instance provider in favor of the new
haproxy_install and haproxy_ configuration resources. Why not just leave them in place?
Well unfortunately they were utterly broken for anything other than the most trivial usage.
Rather than continue the user pain we've opted to remove them and point users to a more modern installation method.
If you need the legacy installation methods simply pin to the 3.0.4 release. - THIS IS GOING TO BREAK EVERYTHING YOU KNOW AND LOVE
- 12.5 or greater rewrite
- Custom Resource Only, no recipes
Release v3.0.4
Release v3.0.1
Release v3.0.0
- Configurable debug options
- Merging [#123][] - CentOS7 compatibility
- Adding poise-service for service management
- Adding changes to match PR [#91][].
- updating source install to use Haproxy 1.7.2
- Chef >= 12.1 required
- changing ['haproxy']['source']['target_os'], ['haproxy']['source']['target_cpu'] to use proper architecture, Issue: [#150][]