<commit_before># haproxy Cookbook CHANGELOG

This file is used to list changes made in each version of the haproxy cookbook.

## Unreleased

- Remove `.foodcritic` as it is no longer run by deliver local
- Removed `.rubocop.yml` as no longer required

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

- Update `config_defaults` resource `stats` property default value to empty hash
- Update 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
- Update integration tests to cover haproxy 2.0
- Move 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
- Add the peer resource
- Add the mailer resource

## [v7.1.0] (2019-04-16)

- Clean up unused templates and files
- Fix name conflict with systemd_unit in service resource

## [v7.0.0] (2019-04-10)

- Add `health` to allowed values for `mode` on `frontend`, `backend`, `listen`, `default`
- Fix cookbook default value in `config_global`
- Clean up unit and integration test content regular expressions
- Adds ius repo for CentOS and Redhat package installations (resolves #348)
- Add apt-update for debian platforms
- Move system command to a helper
- Remove `poise_service` dependency in favor of systemd_unit
- Support only systemd init systems

## [v6.4.0] (2019-03-20)

- Move resource documentation to dedicated folder with md per resource
- Fix source installs on CentOS 6
- Rename haproxy_cache `name` property as `cache_name`

## [v6.3.0] (2019-02-18)

- Add 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
- Allow passing an array to `haproxy_listen`'s `http_request` param
- Fix ordering for `haproxy_listen`: `acl` directives should be applied before `http-request`
- Add `hash_type` param to `haproxy_backend`, `haproxy_listen`, and `haproxy_config_defaults` resources
- Add `reqirep` and `reqrep` params to `haproxy_backend`, `haproxy_frontend`, and `haproxy_listen` resources
- Add `sensitive` param to `haproxy_install`; set to false to show diff output during Chef run

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

- Put `http_request` rules before the `use_backend`

## [v6.2.5] (2018-10-09)

- Drop Chef-12 support
- Drop CPU cookbook dependency
- Fix systemd wrapper, the wrapper is no longer included with haproxy versions greater than 1.8.
- Add rspec examples for resource usage

## [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)

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

- 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**

- Adds `haproxy_service` resource see test suites for usage
- Require Chef 12.20 or later

### Improvements

- Uses the build_essential resource not the default recipe so the cookbook can be skipped entirely if running on Chef 14+
- Adds support for haproxy 1.8
- Simplify the kitchen matrix
- Remove kitchen.dokken.yml suites and inherit from kitchen.yml
- Use default action in tests (:create)
- Set the use_systemd property from the init package system
- Adding in systemd for SUSE Linux
- Fix source comparison

### Testing Changes

- Test haproxy version 1.8.7 and 1.7.8
- Test on chef-client version 13.87 and 14
- Add notes on how we generate the travis.yml list
- Remove Amazon tests until a new dokken image is produced that is reliable

## [v6.0.0] (2018-03-28)

- Remove `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` resourcce (#284)
- bin prefix is now reflected in the service config. (#288, #289)

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

- Fix foodcritic warning for not defining `name_property`

## [v5.0.2] (2017-11-29)

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

- updating service to use cookbook template
- Add option for install only #251
- `log` `property` in `global` resource can now be of type `Array` or `String`. This fixes #252
- updating to haproxy 1.7.8, updating `source_version` in test files(kitchen,cookbook, etc)
- fixing supports line #258
- updating properties to use `new_resource`<commit_msg>Fixed typo in changelog<commit_after># haproxy Cookbook CHANGELOG

This file is used to list changes made in each version of the haproxy cookbook.

## Unreleased

- Remove `.foodcritic` as it is no longer run by deliver local
- Removed `.rubocop.yml` as no longer required

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

- Update `config_defaults` resource `stats` property default value to empty hash
- Update 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
- Update integration tests to cover haproxy 2.0
- Move 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
- Add the peer resource
- Add the mailer resource

## [v7.1.0] (2019-04-16)

- Clean up unused templates and files
- Fix name conflict with systemd_unit in service resource

## [v7.0.0] (2019-04-10)

- Add `health` to allowed values for `mode` on `frontend`, `backend`, `listen`, `default`
- Fix cookbook default value in `config_global`
- Clean up unit and integration test content regular expressions
- Adds ius repo for CentOS and Redhat package installations (resolves #348)
- Add apt-update for debian platforms
- Move system command to a helper
- Remove `poise_service` dependency in favor of systemd_unit
- Support only systemd init systems

## [v6.4.0] (2019-03-20)

- Move resource documentation to dedicated folder with md per resource
- Fix source installs on CentOS 6
- Rename haproxy_cache `name` property as `cache_name`

## [v6.3.0] (2019-02-18)

- Add 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
- Allow passing an array to `haproxy_listen`'s `http_request` param
- Fix ordering for `haproxy_listen`: `acl` directives should be applied before `http-request`
- Add `hash_type` param to `haproxy_backend`, `haproxy_listen`, and `haproxy_config_defaults` resources
- Add `reqirep` and `reqrep` params to `haproxy_backend`, `haproxy_frontend`, and `haproxy_listen` resources
- Add `sensitive` param to `haproxy_install`; set to false to show diff output during Chef run

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

- Put `http_request` rules before the `use_backend`

## [v6.2.5] (2018-10-09)

- Drop Chef-12 support
- Drop CPU cookbook dependency
- Fix systemd wrapper, the wrapper is no longer included with haproxy versions greater than 1.8.
- Add rspec examples for resource usage

## [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)

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

- 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**

- Adds `haproxy_service` resource see test suites for usage
- Require Chef 12.20 or later

### Improvements

- Uses the build_essential resource not the default recipe so the cookbook can be skipped entirely if running on Chef 14+
- Adds support for haproxy 1.8
- Simplify the kitchen matrix
- Remove kitchen.dokken.yml suites and inherit from kitchen.yml
- Use default action in tests (:create)
- Set the use_systemd property from the init package system
- Adding in systemd for SUSE Linux
- Fix source comparison

### Testing Changes

- Test haproxy version 1.8.7 and 1.7.8
- Test on chef-client version 13.87 and 14
- Add notes on how we generate the travis.yml list
- Remove Amazon tests until a new dokken image is produced that is reliable

## [v6.0.0] (2018-03-28)

- Remove `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)

- Fix foodcritic warning for not defining `name_property`

## [v5.0.2] (2017-11-29)

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

- updating service to use cookbook template
- Add option for install only #251
- `log` `property` in `global` resource can now be of type `Array` or `String`. This fixes #252
- updating to haproxy 1.7.8, updating `source_version` in test files(kitchen,cookbook, etc)
- fixing supports line #258
- updating properties to use `new_resource`
{'fraction_non_alphanumeric': 0.09333954354913833, 'fraction_numerical': 0.06017699115044248, 'mean_word_length': 4.049858889934149, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1113470', 'n_tokens_mistral': 3808, 'n_tokens_neox': 3349, 'n_words': 1410}