This file is used to list changes made in each version of the keepalived cookbook.
- Updated supported platforms
- Sync
kitchen.yml
with standardized settings - Move
keepalived
service resource to the end to fix issues with RHEL-9
- Fixed a bug that duplicated the
notify_master
script in avrrp_instance
- Fix markdown
Standardise files with files in sous-chefs/repo-management
- Remove delivery folder
- Standardise files with files in sous-chefs/repo-management
- Enable unified_mode for all resources
- This bumps the required Chef version to at least 15.3
- Speed up spec tests by caching Chef run
- Standardise files with files in sous-chefs/repo-management
- Added support for LVS/IPVS scheduler to
keepalived_virtual_server
lvs_sched
property:mh
"maglev hashing scheduling"fo
"weighted failover scheduling"ovf
"weighted overflow scheduling"lblcr
"locality-based least-connection with replication scheduling"sed
"shortest expected delay scheduling"nq
"never queue scheduling"
- Make the property
authentication
ofkeepalived_vrrp_instance
optional
- Changed
value_for_platform_family
to be wrapped in lazy to fix issue with Chef 14
- Removed all attributes
- Removed all recipes
- Added resource called
keepalived_install
- Changed service behaviour, this must now be declared directly as a resource.
- All other resources need to notify the service to restart when changes
notifies :restart, 'service[keepalived]', :delayed
- Resolved issue with check names prefixing all check file names
{name}
section with aport-
in them, this was incorrect and has now been removed.
-
Added testing for newer operating systems
- amazonlinux-2
- debian 10
- ubuntu 18.04
-
Removed testing for older operating systems
- amazonlinux
- centos 6
- debian 8
- ubuntu 14.04
- ubuntu 16.04
-
Removed unnecessary allowed_actions from the resource
-
Migrated to github actions for CI testing
-
Migrated global_defs from HWRP to a Custom Resource
- Removed property
config_name
- Removed property
content
, this is now build up from the supplied properties - Removed property
path
- Removed property
exists
- Removed property
enable_snmp_keepalived
, no longer in keepalived man page - Added property
config_directory
, defaulted to:/etc/keepalived/conf.d
- Added property
config_file
, defaulted to:::File.join(config_directory, 'global_defs.conf')
- Added property
cookbook
, defaulted to:keepalived
- Added property
source
, defaulted toglobal_defs.conf.erb
- Added property
extra_options
- Removed property
-
Migrated static_ipaddress from HWRP to a Custom Resource
- Removed property
config_name
- Removed property
content
, this is now build up from the supplied properties - Removed property
path
- Removed property
exists
- Added property
config_directory
, defaulted to:/etc/keepalived/conf.d
- Added property
config_file
, defaulted to:::File.join(config_directory, 'static_ipaddress.conf')
- Added property
cookbook
, defaulted to:keepalived
- Added property
source
, defaulted tostatic_ipaddress.conf.erb
- Removed property
-
Migrated static_routes from HWRP to a Custom Resource
- Removed property
config_name
, propertyconfig_file
now will be the full name - Removed property
content
, this is now build up from the supplied properties - Removed property
exists
- Removed property
path
- Added property
config_directory
, defaulted to:/etc/keepalived/conf.d
- Added property
config_file
, defaulted to:::File.join(config_directory, 'static_routes.conf')
- Added property
cookbook
, defaulted to:keepalived
- Added property
source
, defaulted tostatic_routes.conf.erb
- Removed property
-
Migrated vrrp_sync_group from HWRP to a Custom Resource
- Removed property
config_name
, propertyconfig_file
now will be the full name - Removed property
content
, this is now build up from the supplied properties - Removed property
exists
- Removed property
path
- Added property
config_directory
, defaulted to:/etc/keepalived/conf.d
- Added property
config_file
, defaulted to:::File.join(config_directory, 'keepalived_vrrp_sync_group__#{name}__.conf')
- Added property
cookbook
, defaulted to:keepalived
- Added property
source
, defaulted tovrrp_sync_group.conf.erb
- Removed property
-
Migrated vrrp_script from HWRP to a Custom Resource
- Removed property
config_name
, propertyconfig_file
now will be the full name - Removed property
content
, this is now build up from the supplied properties - Removed property
exists
- Removed property
path
- Added property
config_directory
, defaulted to:/etc/keepalived/conf.d
- Added property
config_file
, defaulted to:::File.join(config_directory, '00_keepalived_vrrp_script__#{name}__.conf')
- Added property
cookbook
, defaulted to:keepalived
- Added property
source
, defaulted tovrrp_script.conf.erb
- Removed property
-
Migrated real_server from HWRP to a Custom Resource
- Removed property
config_name
, propertyconfig_file
now will be the full name - Removed property
content
, this is now build up from the supplied properties - Removed property
exists
- Removed property
path
- Added property
config_directory
, defaulted to:/etc/keepalived/servers.d
- Added property
config_file
, defaulted to:::File.join(config_directory, 'keepalived_real_server__#{ipaddress}-#{port}__.conf')
- Added property
cookbook
, defaulted to:keepalived
- Added property
source
, defaulted toreal_server.conf.erb
- Removed property
-
Migrated tcp_check from HWRP to a Custom Resource
- Removed property
config_name
, propertyconfig_file
now will be the full name - Removed property
content
, this is now build up from the supplied properties - Removed property
exists
- Removed property
path
- Added property
config_directory
, defaulted to:/etc/keepalived/checks.d
- Added property
config_file
, defaulted to:::File.join(config_directory, "keepalived_tcp_check__port-#{name.to_s.gsub(/\s+/, '-')}__.conf"
- Added property
cookbook
, defaulted to:keepalived
- Added property
source
, defaulted totcp_check.conf.erb
- Changed property
bindto
this is nowbind_to
- Removed property
-
Migrated http_get from HWRP to a Custom Resource
- Removed property
config_name
, propertyconfig_file
now will be the full name - Removed property
content
, this is now build up from the supplied properties - Removed property
exists
- Removed property
path
- Removed property
nb_get_retry
, this is no longer in the manpage so it not supported - Added property
config_directory
, defaulted to:/etc/keepalived/checks.d
- Added property
config_file
, defaulted to:::File.join(config_directory, "keepalived_http_get__port-#{name.to_s.gsub(/\s+/, '-')}__.conf"
- Added property
cookbook
, defaulted to:keepalived
- Added property
source
, defaulted tohttp_get.conf.erb
- Changed property
bindto
this is nowbind_to
- Changed property
url
to no longer be required, it has a default already
- Removed property
-
Migrated ssl_get from HWRP to a Custom Resource
- Removed property
config_name
, propertyconfig_file
now will be the full name - Removed property
content
, this is now build up from the supplied properties - Removed property
exists
- Removed property
path
- Removed property
nb_get_retry
, this is no longer in the manpage so it not supported - Added property
config_directory
, defaulted to:/etc/keepalived/checks.d
- Added property
config_file
, defaulted to:::File.join(config_directory, "keepalived_ssl_get__port-#{name.to_s.gsub(/\s+/, '-')}__.conf"
- Added property
cookbook
, defaulted to:keepalived
- Added property
source
, defaulted tossl_get.conf.erb
- Changed property
bindto
this is nowbind_to
- Changed property
url
to no longer be required, it has a default already
- Removed property
-
Migrated smtp_check from HWRP to a Custom Resource
- Removed property
config_name
, propertyconfig_file
now will be the full name - Removed property
content
, this is now build up from the supplied properties - Removed property
exists
- Removed property
path
- Removed property
host
- Added property
config_directory
, defaulted to:/etc/keepalived/checks.d
- Added property
config_file
, defaulted to:::File.join(config_directory, "keepalived_smtp_check__port-#{name.to_s.gsub(/\s+/, '-')}__.conf"
- Added property
cookbook
, defaulted to:keepalived
- Added property
source
, defaulted tosmtp_check.conf.erb
- Changed property
bindto
this is nowbind_to
- Removed property
-
Migrated misc_check from HWRP to a Custom Resource
- Removed property
config_name
, propertyconfig_file
now will be the full name - Removed property
content
, this is now build up from the supplied properties - Removed property
exists
- Removed property
path
- Added property
config_directory
, defaulted to:/etc/keepalived/checks.d
- Added property
config_file
, defaulted to:::File.join(config_directory, "keepalived_misc_check__port-#{name.to_s.gsub(/\s+/, '-')}__.conf"
- Added property
cookbook
, defaulted to:keepalived
- Added property
source
, defaulted tomisc_check.conf.erb
- Removed property
-
Migrated virtual_server_group from HWRP to a Custom Resource
- Removed property
config_name
, propertyconfig_file
now will be the full name - Removed property
content
, this is now build up from the supplied properties - Removed property
exists
- Removed property
path
- Added property
config_directory
, defaulted to:/etc/keepalived/conf.d
- Added property
config_file
, defaulted to:::File.join(config_directory, "keepalived_virtual_server_group__#{name}__.conf"
- Added property
cookbook
, defaulted to:keepalived
- Added property
source
, defaulted tovirtual_server_group.conf.erb
- Removed property
-
Migrated virtual_server from HWRP to a Custom Resource
- Removed property
config_name
, propertyconfig_file
now will be the full name - Removed property
content
, this is now build up from the supplied properties - Removed property
exists
- Removed property
path
- Removed property
lb_algo
, this property is not documented in the manpage - Removed property
lb_kind
, this property is not documented in the manpage - Added property
config_directory
, defaulted to:/etc/keepalived/conf.d
- Added property
config_file
, defaulted to:::File.join(config_directory, "keepalived_virtual_server__#{name.to_s.gsub(/\s+/, '-')}__.conf"
- Added property
cookbook
, defaulted to:keepalived
- Added property
source
, defaulted tovirtual_server.conf.erb
- Removed property
-
Migrated vrrp_instance from HWRP to a Custom Resource
- Removed property
config_name
, propertyconfig_file
now will be the full name - Removed property
content
, this is now build up from the supplied properties - Removed property
exists
- Removed property
path
- Removed property
lvs_sync_daemon_interface
, it is not in the manpage - Removed property
debug
, manpage states not implemented yet - Added property
config_directory
, defaulted to:/etc/keepalived/conf.d
- Added property
config_file
, defaulted to:::File.join(config_directory, "keepalived_vrrp_instance__#{name}__.conf"
- Added property
cookbook
, defaulted to:keepalived
- Added property
source
, defaulted tovrrp_instance.conf.erb
- Changed property
strict_mode
to a boolean, this was previously a String
- Removed property
-
Items of note
- Any calls to resources that look like this:
resources(keepalived_http_get: 'health_check_url').path
need to be migrated to use theconfig_file
instead,resources(keepalived_http_get: 'health_check_url').config_file
- Any calls to resources that look like this:
- Update README for vrrp_instance property name change
- Allow authentication hash to use strings for keys
- Update Test Kitchen platforms
- fix unicast_peer var type in readme
- Changes needed to converge on CentOS7 and Debian9
- Replace keepalived_vrrp_instance 'state' property with boolean 'master' property to fix Chef 13 compat
- Use the standard Apache-2.0 license string in the metadata
- Switch from Rake to delivery local mode for testing
- add user option for vrrp_script blocks
- update test suite
- fix chef_version in metadata
- Testing updates
- Require Chef 12.1
- pass through sensitive attribute to underlying file resource
- fix chefspec matchers
- bump order of virtual_router_id in vrrp_instance config
- extended platform testing
- attribute-driven configuration is no longer supported
- remove net.ipv4.ip_nonlocal_bind sysctl management
- separate recipe concerns from single recipe to install, configure, service
- overhaul cookbook to use resources instead of attributes
- add daemon cli args management
- Added RHEL based distros as supported platforms
- Added requirements section to the readme to clarify what distros are supported and the requirement of Chef 11+
- Updated .gitignore file
- Added Test Kitchen config
- Added Chef standard Rubocop config
- Added Travis CI testing
- Added Berksfile
- Updated Gemfile with the latest development dependencies
- Updated contributing and testing docs
- Added maintainers.md and maintainers.toml files
- Added Travis and cookbook version badges to the readme
- Updated Opscode -> Chef Software
- Added a Rakefile for simplified testing
- Added a Chefignore file
- Resolved Rubocop warnings
- Added source_url and issues_url to the metadata
- Added basic convergence Chefspec test
- [COOK-4299] Avoid setting attributes without precedence
- Add support for
vrrp_sync_groups
- [COOK-2919]: Status option not available
- [COOK-1965] - fixes template subscribes and readme typos
- [COOK-1656] - Make keepalived configurable. Add some tests.
- Initial public release.