cookbook 'haproxy', '= 4.3.0'
haproxy
(103) Versions
4.3.0
-
-
12.3.5
-
12.3.4
-
12.3.3
-
12.3.2
-
12.3.1
-
12.3.0
-
12.2.24
-
12.2.23
-
12.2.22
-
12.2.21
-
12.2.20
-
12.2.19
-
12.2.18
-
12.2.17
-
12.2.16
-
12.2.15
-
12.2.14
-
12.2.13
-
12.2.12
-
12.2.11
-
12.2.10
-
12.2.9
-
12.2.8
-
12.2.7
-
12.2.6
-
12.2.5
-
12.2.4
-
12.2.3
-
12.2.2
-
12.2.1
-
12.2.0
-
12.1.0
-
12.0.1
-
12.0.0
-
11.0.0
-
10.0.1
-
10.0.0
-
9.1.0
-
9.0.1
-
9.0.0
-
8.3.0
-
8.2.0
-
8.1.1
-
8.1.0
-
8.0.0
-
7.1.0
-
7.0.0
-
6.4.0
-
6.3.0
-
6.2.7
-
6.2.6
-
6.2.5
-
6.2.4
-
6.2.3
-
6.2.2
-
6.2.1
-
6.2.0
-
6.1.0
-
6.0.0
-
5.0.4
-
5.0.3
-
5.0.2
-
5.0.0
-
4.6.1
-
4.6.0
-
4.5.0
-
4.4.0
-
4.3.1
-
4.3.0
-
4.2.0
-
4.1.0
-
4.0.2
-
4.0.1
-
4.0.0
-
3.0.4
-
3.0.3
-
3.0.2
-
3.0.1
-
3.0.0
-
2.0.2
-
2.0.1
-
2.0.0
-
1.6.7
-
1.6.6
-
1.6.4
-
1.6.2
-
1.6.0
-
1.5.0
-
1.4.0
-
1.3.2
-
1.3.0
-
1.2.0
-
1.1.4
-
1.1.0
-
1.0.6
-
1.0.4
-
1.0.3
-
1.0.2
-
1.0.1
-
1.0.0
-
0.8.1
-
0.8.0
-
0.7.0
Follow165
- 12.3.5
- 12.3.4
- 12.3.3
- 12.3.2
- 12.3.1
- 12.3.0
- 12.2.24
- 12.2.23
- 12.2.22
- 12.2.21
- 12.2.20
- 12.2.19
- 12.2.18
- 12.2.17
- 12.2.16
- 12.2.15
- 12.2.14
- 12.2.13
- 12.2.12
- 12.2.11
- 12.2.10
- 12.2.9
- 12.2.8
- 12.2.7
- 12.2.6
- 12.2.5
- 12.2.4
- 12.2.3
- 12.2.2
- 12.2.1
- 12.2.0
- 12.1.0
- 12.0.1
- 12.0.0
- 11.0.0
- 10.0.1
- 10.0.0
- 9.1.0
- 9.0.1
- 9.0.0
- 8.3.0
- 8.2.0
- 8.1.1
- 8.1.0
- 8.0.0
- 7.1.0
- 7.0.0
- 6.4.0
- 6.3.0
- 6.2.7
- 6.2.6
- 6.2.5
- 6.2.4
- 6.2.3
- 6.2.2
- 6.2.1
- 6.2.0
- 6.1.0
- 6.0.0
- 5.0.4
- 5.0.3
- 5.0.2
- 5.0.0
- 4.6.1
- 4.6.0
- 4.5.0
- 4.4.0
- 4.3.1
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.2
- 4.0.1
- 4.0.0
- 3.0.4
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 2.0.2
- 2.0.1
- 2.0.0
- 1.6.7
- 1.6.6
- 1.6.4
- 1.6.2
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.2
- 1.3.0
- 1.2.0
- 1.1.4
- 1.1.0
- 1.0.6
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 0.8.1
- 0.8.0
- 0.7.0
Installs and configures haproxy
cookbook 'haproxy', '= 4.3.0', :supermarket
knife supermarket install haproxy
knife supermarket download haproxy
haproxy Cookbook
Installs and configures haproxy.
Requirements
- Chef 12.5+
Platforms
- Ubuntu 12.04+, Ubuntu 14.04+
- RHEL 6+, CentOS6+
- RHEL 7+, CentOS7+
- Debian 8+
Resources
Install
haproxy_install 'package' do end
haproxy_config_global '' do chroot '/var/lib/haproxy' daemon true maxconn 256 log '/dev/log local0' log_tag 'WARDEN' pidfile '/var/run/haproxy.pid' stats socket: '/var/lib/haproxy/stats level admin' tuning 'bufsize' => '262144' end
haproxy_config_defaults '' do mode 'http' timeout connect: '5000ms', client: '5000ms', server: '5000ms' end
haproxy_frontend 'http-in' do bind '*:80' default_backend 'servers' end
haproxy_backend 'servers' do server ['server1 127.0.0.1:8000 maxconn 32'] end
License & Authors
- Author:: Dan Webb (https://github.com/damacus)
- Author:: Will Fisher (https://github.com/teknofire)
- Author:: Richard Shade (https://github.com/rshade)
- Author:: Joshua Timberman (joshua@chef.io)
- Author:: Aaron Baer (aaron@hw-ops.com)
- Author:: Justin Kolberg (justin@hw-ops.com)
Copyright:: Heavy Water Operations, LLC. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Dependent cookbooks
cpu >= 0.2.0 |
build-essential >= 8.0.1 |
poise-service >= 1.5.1 |
compat_resource >= 12.16 |
Contingent cookbooks
haproxy Cookbook CHANGELOG
This file is used to list changes made in each version of the haproxy cookbook.
unreleased
[v4.3.0] (05-31-2017)
- Added Chefspec Matchers for the resources defined in this cookbook.
- Added
mode
property tobackend
andfrontend
resources. - Added
maxconn
toglobal
resource - removed
default_backend
as a required property on thefrontend
resource
[v4.2.0] (04-05-2017)
- Added in
acl
resource, usage:test/fixtures/cookbooks/test/recipes/config_acl.rb
- Added in
use_backend
resource, usage:test/fixtures/cookbooks/test/recipes/config_acl.rb
- Cleaned up arrays in
templates/default/haproxy.cfg.erb
- Added
acl
anduse_backend
tolisten
resource. - Fixed init script for Amazon Linux.
- Added Amazon Linux as a supported platform.
- Pinned
build-essential
,>= 8.0.1
Pinned
poise-service
,>= 1.5.1
BREAKING CHANGES: This version removes
stats_socket
,stats_uri
andstats_timeout
properties from thehaproxy_global
andhaproxy_listen
resources in favor of using a hash to pass configuration options.
[v4.1.0] (01-05-2017)
- Adding
userlist
resource, to see usage:test/fixtures/cookbooks/test/recipes/config_1_userlist.rb
- fixing haproxy_retries in haproxy_config_defaults resource
- updating source install test to take node attributes as haproxy.org is slow.
- added chef-search example in:
test/fixtures/cookbooks/test/recipes/config_backend_search.rb
- Multiple addresses and ports on listener and frontend #205
[v4.0.2] (21-04-2017)
- Fix haproxy service start on Ubuntu 14.04 #199
- Reload HAProxy when changing configuration #197
[v4.0.1] (20-04-2017)
- Updating README.md
- Adding compat_resource for chef-12 support
- Improved rendering of the configuration file [#196]
[v4.0.0] (18-04-2017)
- 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
[v3.0.4] (29-03-2017)
- Fix bug introduced in #174 [#182][]
[v3.0.3] (28-03-2017)
- Multiple addresses and ports on listener and frontend [#174][]
- Customize logging destination [#178][]
- updating to use bats/serverspec [#179][]
[v3.0.2] (27-03-2017)
- 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-1-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][]
- removing members with nil ips from member array. [#79][]
[v3.0.0] (2017-1-24)
- 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][]
[v2.0.2] (2016-12-30)
- Cookstyle fixes
- Travis testing updates
- Fixed the github URL for the repo in various locations
- Converted file modes to strings
- Updated the config resource to lazily evaluate node attribute values to better load the values when overriden in wrapper cookbooks
v2.0.1 (2016-12-08)
- Fixed 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
v2.0.0 (2016-11-09)
Breaking Changes
- 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
Other changes
- Migrated this cookbook from Heavy Water to Chef Brigade so we can ensure more frequent releases and maintenance
- Added a code of conduct for the project. Read it.
- The haproxy config is now verified before the service restarts / reloads to prevent taking down haproxy with a bad config
- Several new syslog configuration attributes have been added
- A new attribute for stats_socket_level has been added
- A new attribute for retries has been added
- Added a chefignore file to speed up syncs from the server
- Added scientific and oracle as supported platforms in the metadata
- Added source_url, issues_url, and chef_version metadata
- Removed attributes from the metadata file as these are redundant
- Enabled why-run support in the default haproxy resource
- Removed broken tarball validation in the source recipe to prevented installs from completing
- Fixed source installs not running if an older version was present on the node
- Broke search logic out into a new_discovery recipe
- Added new node['haproxy']['pool_members'] and node['haproxy']['pool_members_option'] attributes
- Resolved all cookstyle and foodcritic warnings
- Added a new haproxy_config resource
- Added a Guardfile
- Update the Kitchen config file to use Bento boxes and new platforms
- Updates ChefSpec matchers to use the latest format
- Added 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
v1.6.7
New Feature
- Added ChefSpec matchers and test coverage
Updates
- Replaced references to Opscode with Chef
v1.6.6
Bug
- CPU Tuning, corrects cpu_affinity resource triggers
Updates
- 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
v1.6.4
v1.6.2
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.2
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
New Feature
- Allow setting of members with default recipe without changing the template
v1.5.0
Improvement
- COOK-3660 - Make haproxy socket default user group configurable
- COOK-3537 - Add OpenSSL and zlib source configurations
New Feature
- COOK-2384 - Add LWRP for multiple haproxy sites/configs
v1.4.0
Improvement
New Feature
v1.3.2
Bug
- [COOK-3046]: haproxy default recipe broken by COOK-2656
Task
- [COOK-2009]: Add test-kitchen support to haproxy
v1.3.0
Improvement
- [COOK-2656]: Unify the haproxy.cfg with that from app_lb
New Feature
- [COOK-1488]: Provide an option to build haproxy from source
v1.2.0
- [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
v1.1.4
- [COOK-1839] - add httpchk configuration to
app_lb
template
v1.1.0
- [COOK-1275] - haproxy-default.erb should be a cookbook_file
- [COOK-1594] - Template-Service ordering issue in app_lb recipe
v1.0.6
- [COOK-1310] - redispatch flag has changed
v1.0.4
- [COOK-806] - load balancer should include an SSL option
- [COOK-805] - Fundamental haproxy load balancer options should be configurable
v1.0.3
- [COOK-620] haproxy::app_lb's template should use the member cloud private IP by default
v1.0.2
- fix regression introduced in v1.0.1
v1.0.1
- account for the case where load balancer is in the pool
v1.0.0
- Use
node.chef_environment
instead ofnode['app_environment']
Collaborator Number Metric
4.3.0 passed this metric
Contributing File Metric
4.3.0 passed this metric
Foodcritic Metric
4.3.0 passed this metric
License Metric
4.3.0 passed this metric
No Binaries Metric
4.3.0 passed this metric
Testing File Metric
4.3.0 passed this metric
Version Tag Metric
4.3.0 passed this metric
4.3.0 passed this metric
4.3.0 passed this metric
Foodcritic Metric
4.3.0 passed this metric
License Metric
4.3.0 passed this metric
No Binaries Metric
4.3.0 passed this metric
Testing File Metric
4.3.0 passed this metric
Version Tag Metric
4.3.0 passed this metric
4.3.0 passed this metric
4.3.0 passed this metric
No Binaries Metric
4.3.0 passed this metric
Testing File Metric
4.3.0 passed this metric
Version Tag Metric
4.3.0 passed this metric
4.3.0 passed this metric
4.3.0 passed this metric
Version Tag Metric
4.3.0 passed this metric
4.3.0 passed this metric