This file is used to list changes made in each version of the haproxy cookbook.
- Add
option
property tohaproxy_listen
- Refactor
option
s internally to not create an unnecessary nested array
Standardise files with files in sous-chefs/repo-management
Standardise files with files in sous-chefs/repo-management
- Update default HAProxy source install verision to 2.8.5
- Update source install tests to include versions 2.4, 2.6, 2.8, 2.9
- Remove config-1 & config-4 examples from integration tests
- Remove
reqirep
andreqrep
params tohaproxy_backend
,haproxy_frontend
, andhaproxy_listen
resources.- These params are no longer supported since HAProxy 2.1
- Fix HTTP 403 error page in tests
- HAProxy now requires headers on error files
- Format tests to use InSpec profiles so that we can inherit profiles
- Fix lua test
- Remove deprecated block option from ACL test
- Fix source lua tests on CentOS & Fedora
- Remove OpenSSL tests, as this is out of scope of the core cookbook currently
Standardise files with files in sous-chefs/repo-management
Standardise files with files in sous-chefs/repo-management
Standardise files with files in sous-chefs/repo-management
Standardise files with files in sous-chefs/repo-management
Standardise files with files in sous-chefs/repo-management
Standardise files with files in sous-chefs/repo-management
Standardise files with files in sous-chefs/repo-management
Standardise files with files in sous-chefs/repo-management
Standardise files with files in sous-chefs/repo-management
Standardise files with files in sous-chefs/repo-management
Standardise files with files in sous-chefs/repo-management
- Debian 11 & Chef 18 compatibility
- Fix CI
- Standardise files with files in sous-chefs/repo-management
- Remove delivery folder
- Standardise files with files in sous-chefs/repo-management
- Migrate to new workflow pipelines
- Update supported platforms in README.md
- Standardise files with files in sous-chefs/repo-management
- Add
use_promex
property to install.rb to support compiling with Prometheus Exporter support - @Wicaeed
- Add
ssl_lib
andssl_inc
properties tohaproxy_install
to support openssl - @derekgroh
- Standardise files with files in sous-chefs/repo-management
- Refactor to use resource partials
- Add delete action to most resources
- Convert
install
resource boolean strings to true/false - Ensure section is created before adding an ACL
- Drop testing for Debian 8, Ubuntu 16.04 & Ubuntu 18.04
- Add testing for Debian 9 Ubuntu 20.04 & Ubuntu 21.04
- Fix the minimum Chef version to 15.3 unified_mode was introduced in 15.3
- Change kitchen to use the Bento provided Amazonlinux2 image
- Fix test suite
- Add missing configuration file properties to all resources
- 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
- testing for haproxy 2.2
- testing for haproxy 1.9 & 2.1
- added lua compilation flags to
haproxy_install
resource
- resolved cookstyle error: libraries/helpers.rb:19:24 refactor:
ChefCorrectness/InvalidPlatformFamilyInCase
- Updated IUS repo url to
https://repo.ius.io/ius-release-el7.rpm
- Turn on unified_mode for all resources
- Removed
depends_on
build-essential, as this is now in Chef Core
- Cookstyle fixes for cookstyle version 5.20
v8.3.0 (2020-01-09)
- on
haproxy_install
epel is now a configurable option
- Migrated testing to github actions
- ius repo will only echo out if enabled
v8.2.0 (2019-12-23)
fastcgi
resource to support FastCGI applications
- Default source install version is haproxy 2.1
- Bug with single newline between resources when multiple of the same type are defined
.foodcritic
as it is no longer run by deliver local..rubocop.yml
as no longer required.
v8.1.1 (2019-10-02)
- Updated
config_defaults
resourccestats
property default value to empty hash. - Updated metadata.rb chef_version to >=13.9 due to resource
description
.
v8.1.0 (2019-06-24)
- 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)
- The bind config hash joins with a space instead of a colon.
- The peer resource.
- The mailer resource.
v7.1.0 (2019-04-16)
- Clean up unused templates and files.
- Name conflict with systemd_unit in service resource.
v7.0.0 (2019-04-10)
health
to allowed values formode
onfrontend
,backend
,listen
,default
.apt-update
for debian platforms.- ius repo for CentOS and Redhat package installations (resolves #348).
- Clean up unit and integration test content regular expressions.
- Move system command to a helper.
- Support only systemd init systems.
- Remove
poise_service
dependency in favor of systemd_unit.
- Fix cookbook default value in
config_global
.
v6.4.0 (2019-03-20)
- Move resource documentation to dedicated folder with md per resource.
- Rename haproxy_cache
name
property ascache_name
.
- Source installs on CentOS 6.
v6.3.0 (2019-02-18)
- Haproxy_cache resource for caching small objects with HAProxy version >=1.8.
- 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)
- Test for appropriate spacing from start of line and end of line.
hash_type
param tohaproxy_backend
,haproxy_listen
, andhaproxy_config_defaults
resources.reqirep
andreqrep
params tohaproxy_backend
,haproxy_frontend
, andhaproxy_listen
resources.sensitive
param tohaproxy_install
; set to false to show diff output during Chef run.
- Allow passing an array to
haproxy_listen
'shttp_request
param.
- Fix ordering for
haproxy_listen
:acl
directives should be applied beforehttp-request
.
v6.2.6 (2018-11-05)
- Put
http_request
rules before theuse_backend
.
v6.2.5 (2018-10-09)
- rspec examples for resource usage.
- Chef-12 support.
- CPU cookbook dependency.
- Systemd wrapper, the wrapper is no longer included with haproxy versions greater than 1.8.
v6.2.4 (2018-09-19)
- Server property to listen resource and config template.
v6.2.3 (2018-08-03)
- 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)
- Made
haproxy_install
source_url
property dynamic withsource_version
property and removed the need to specify checksum #307.
v6.2.1 (2018-08-01)
- Compiling from source crypt support #305.
v6.2.0 (2018-05-11)
- 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)
haproxy_service
resource 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.
- 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.
kitchen.dokken.yml
suites and inherit from kitchen.yml.- Amazon tests until a new dokken image is produced that is reliable.
- Source comparison.
v6.0.0 (2018-03-28)
compat_resource
cookbok dependency and push the required Chef version to 12.20
v5.0.4 (2018-03-28)
- 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_defaults
resource (#284) - bin prefix is now reflected in the service config. (#288, #289)
v5.0.3 (2018-02-02)
foodcritic
warning for not definingname_property
.
v5.0.0 (2017-08-07)
- Option for install only #251.
- Updating service to use cookbook template.
- updating to haproxy 1.7.8, updating
source_version
in test files(kitchen,cookbook, etc) - updating properties to use
new_resource
log
property
inglobal
resource can now be of typeArray
orString
. This fixes #252- fixing supports line #258
v4.6.1 (2017-08-02)
- Reload instead of restart on config change
- Specify -sf argument last to support haproxy < 1.6.0
v4.6.0 (2017-07-13)
conf_template_source
conf_cookbook
- Support Array value for
extra_options
entries. (#245, #246)
v4.5.0 (2017-06-29)
resolver
resource (#240)
v4.4.0 (2017-06-28)
option
as an Arrayproperty
forbackend
resource. This fixes #234- Synced Debian/Ubuntu init script with latest upstream package changes
v4.3.1 (2017-06-13)
- Oracle Linux 6 support
- Scientific linux support as we don't have a reliable image
v4.3.0 (2017-05-31)
- Chefspec Matchers for the resources defined in this cookbook.
mode
property tobackend
andfrontend
resources.maxconn
toglobal
resource.
default_backend
as a required property on thefrontend
resource.
v4.2.0 (2017-05-04)
- In
acl
resource, usage:test/fixtures/cookbooks/test/recipes/config_acl.rb
- In
use_backend
resource, usage:test/fixtures/cookbooks/test/recipes/config_acl.rb
acl
anduse_backend
tolisten
resource.- Amazon Linux as a supported platform.
- Pinned
build-essential
,>= 8.0.1
- Pinned
poise-service
,>= 1.5.1
- Cleaned up arrays in
templates/default/haproxy.cfg.erb
- Init script for Amazon Linux.
- This version removes
stats_socket
,stats_uri
andstats_timeout
properties from thehaproxy_global
andhaproxy_listen
resources in favour of using a hash to pass configuration options.
v4.1.0 (2017-05-01)
userlist
resource, 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)
- Updating source install test to take node attributes as haproxy.org is slow.
haproxy_retries
inhaproxy_config_defaults
resource
v4.0.2 (2017-04-21)
- haproxy service start on Ubuntu 14.04 (#199)
- Reload HAProxy when changing configuration (#197)
v4.0.1 (2017-04-20)
- Updating README.md
- Adding compat_resource for chef-12 support
- Improvement when rendering the configuration file (#196)
v4.0.0 (2017-04-18)
- 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
v3.0.4 (2017-03-29)
- Bug introduced in (#174) (#182)
v3.0.3 (2017-03-28)
- Multiple addresses and ports on listener and frontend (#174)
- Customize logging destination (#178)
- Updating to use bats/serverspec (#179)
v3.0.2 (2017-03-27)
- Allow server startup from
app_lb
recipe. (#171) - Use Delivery instead of Rake
- Make this cookbook compatible with Chef-13, note:
params
option is nowparameters
(#175)
v3.0.1 (2017-01-30)
- Reload haproxy configuration on changes (#152)
- Merging in generic socket conf (#107)
- Updating config to use facilities hash dynamically (#102)
- Adding
tproxy
and splice per (#98)
- Members with nil ips from member array. (#79)
v3.0.0 (2017-01-24)
- Configurable debug options
- CentOS7 compatibility (#123)
- Adding poise-service for service management
- Updating source install to use Haproxy 1.7.2
- Chef >= 12.1 required
- Use
['haproxy']['source']['target_cpu']
instead of['haproxy']['source']['target_os']
to detect correct architecture. (#150)
- Cookstyle
- The github URL for the repo in various locations
- Travis testing updates
- Converted file modes to strings
- Updated the config resource to lazily evaluate node attribute values to better load the values when overridden in wrapper cookbooks
- Dynamic configuration to properly template out frontend and backend sections
- Update Chef Brigade to Sous Chefs
- Updated contributing docs to remove the reference to the develop branch
- The default recipe is now an empty recipe with manual configuration performed in the 'manual' recipe
- Remove Chef 10 compatibility code
- Switch from Librarian to Berksfile
- Updated the source recipe to install 1.6.9 by default
- Migrated this cookbook from Heavy Water to Chef Brigade so we can ensure more frequent releases and maintenance
- A code of conduct for the project. Read it.
- Several new syslog configuration attributes
- A new attribute for stats_socket_level
- A new attribute for retries
- A chefignore file to speed up syncs from the server
- Scientific and oracle as supported platforms in the metadata
- source_url, issues_url, and chef_version metadata
- Enabled why-run support in the default haproxy resource
- New haproxy_config resource
- Guardfile
- Testing in Travis CI with a Rakefile that runs cookstyle, foodcritic, and ChefSpec as well as a Kitchen Dokken config that does integration testing of the package install
- New
node['haproxy']['pool_members']
andnode['haproxy']['pool_members_option']
attributes
- The haproxy config is now verified before the service restarts / reloads to prevent taking down haproxy with a bad config
- Update the Kitchen config file to use Bento boxes and new platforms
- Update ChefSpec matchers to use the latest format
- Broke search logic out into a new_discovery recipe
- Attributes from the metadata file as these are redundant
- Broken tarball validation in the source recipe to prevented installs from completing
- Source installs not running if an older version was present on the node
- Resolved all cookstyle and foodcritic warnings
- ChefSpec matchers and test coverage
- Replaced references to Opscode with Chef
- Parameterize options for admin listener.
- Renamed templates/rhel to templates/redhat.
- Sort pool members by hostname to avoid needless restarts.
- Support amazon linux init script.
- Support to configure global options.
- CPU Tuning, corrects cpu_affinity resource triggers
- Allow setting of members with default recipe without changing the template.
- Haproxy cookbook attempts to alter an immutable attribute.
- Allow setting of members with default recipe without changing the template.
- Make haproxy socket default user group configurable
- Add OpenSSL and zlib source configurations
- Add LWRP for multiple haproxy sites/configs
- Enable cookie-based persistence in a backend
- Metadata attributes
- Support RHEL
- Allow configuration of a global stats socket
- [COOK-3046]: haproxy default recipe broken by COOK-2656.
- [COOK-2009]: Test-kitchen support to haproxy.
- [COOK-2656]: Unify the haproxy.cfg with that from
app_lb
.
- [COOK-1488]: Provide an option to build haproxy from source.
- [COOK-1936] - use frontend / backend logic.
- [COOK-1937] - cleanup for configurations.
- [COOK-1938] - more flexibility for options.
- [COOK-1939] - reloading haproxy is better than restarting.
- [COOK-1940] - haproxy stats listen on 0.0.0.0 by default.
- [COOK-1944] - improve haproxy performance.
- [COOK-1839] -
httpchk
configuration toapp_lb
template.
- [COOK-1275] - haproxy-default.erb should be a cookbook_file.
- [COOK-1594] - Template-Service ordering issue in
app_lb
recipe.
- [COOK-1310] - Redispatch flag has changed.
- [COOK-806] - Load balancer should include an SSL option.
- [COOK-805] - Fundamental haproxy load balancer options should be configurable.
- [COOK-620]
haproxy::app_lb
's template should use the member cloud private IP by default.
- Regression introduced in v1.0.1.
- Account for the case where load balancer is in the pool.
- Use
node.chef_environment
instead ofnode['app_environment']
.