Skip to content

Releases: sous-chefs/haproxy

10.0.0

24 Apr 09:42

Choose a tag to compare

  • 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_install resource

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_on build-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_install epel 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

  • fastcgi resource 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

  • .foodcritic as it is no longer run by deliver local.
  • .rubocop.yml as no longer required.

[v8.1.1] (2019-10-02)

Changed

  • Updated config_defaults resourcce stats property 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

  • health to allowed values for mode on frontend, backend, listen, default.
  • apt-update for 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_service dependency 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 name property as cache_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_type param to haproxy_backend, haproxy_listen, and haproxy_config_defaults resources.
  • reqirep and reqrep params to haproxy_backend, haproxy_frontend, and haproxy_listen resources.
  • sensitive param to haproxy_install; set to false to show diff output during Chef run.

Changed

  • Allow passing an array to haproxy_listen's http_request param.

Fixed

  • Fix ordering for haproxy_listen: acl directives should be applied before http-request.

[v6.2.6] (2018-11-05)

Changed

  • Put http_request rules before the use_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_install source_url property dynamic with source_version property 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_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.

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.yml suites 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_resource cookbok 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_defaults resource (#284)
  • bin prefix is now reflected in the service config. (#288, #289)

[v5.0.3] (2018-02-02)

Fixed

  • foodcritic warning for not defining name_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_version in test files(kitchen,cookbook, etc)
  • updating properties to use new_resource

Fixed

  • log property in global resource can now be of type Array or String. 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

  • conf_template_source
  • conf_cookbook
  • Support Array value for extra_options entries. (#245, #246)

[v4.5.0] (2017-06-29)

Added

  • resolver resource (#240)

[v4.4.0] (2017-06-28)

Added

  • option as an Array property for backend resource. 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.
  • mode property to backend and frontend resources.
  • maxconn to global resource.

Removed

  • default_backend as a required property on the frontend resource.

[v4.2.0] (2017-05-04)

Added

  • 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 and use_backend to listen resource.
  • 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_uri and stats_timeout properties from the haproxy_global and haproxy_listen resources in favour of using a hash to pass configuration options.

[v4.1.0] (2017-05-01)

Added

  • 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)

Changed

  • Updating source install test to take node attributes as haproxy.org is slow.

Fixed

  • haproxy_retries in haproxy_config_defaults resource

[v4.0.2] (2017-04-21)

Fixed

  • haproxy service start on Ubuntu 14.04 (#199)
  • Reload HAProxy when changing configuration (#197)

[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...
Read more

Release v4.0.1

20 Apr 16:38

Choose a tag to compare

  • Updating README.md
  • Adding compat_resource for chef-12 support
  • Improved rendering of the configuration file [#96]

Release v4.0.0

20 Apr 16:38

Choose a tag to compare

  • 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

29 Mar 17:24

Choose a tag to compare

Release v3.0.1

30 Jan 17:27

Choose a tag to compare

  • 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][]
  • removing members with nil ips from member array. [#79][]

Release v3.0.0

24 Jan 18:10

Choose a tag to compare

  • 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][]

v1.6.2

20 Dec 03:46

Choose a tag to compare

Bug

  • COOK-3424 - Haproxy cookbook attempts to alter an immutable attribute

New Feature

  • COOK-3135 - Allow setting of members with default recipe without changing the template

v1.6.0

28 Oct 22:32

Choose a tag to compare

New Feature

  • Allow setting of members with default recipe without changing the template

v1.5.0

01 Oct 04:35

Choose a tag to compare

Improvement

  • COOK-3660 - Configurable haproxy socket default user group
  • COOK-3537 - OpenSSL and zlib HAProxy source configurations

New Feature

  • COOK-2384 - Add haproxy LWRP for multiple haproxy sites/configs