This file is used to track changes made in recent versions of the Sensu cookbook. Please see HISTORY.md for changes from older versions of this project.
6.0.0 - 2019-12-17
- changed the
apt,yum, andmsirepo paths to use the EOL urls which was announced here. This is only breaking if you have specific whitelisted URLs for the old repos in anhttp(s)proxy. See #632 for more details. (@duncaan)
5.4.0 - 2018-09-14
- exposed
package_nameas an optional parameter to thesensu_gemresource in case you need to install multiple versions of a gem. (@majormoses)
5.3.0 - 2018-08-19
- First class support for defining checks via cron syntax (@vbichov)
5.2.0 - 2018-08-14
- Amazon2 Linux support (@mcavallo)
5.1.2 - 2018-06-05
- metadata now properly requires chef client to be
>= 13.3this is a follow up to the v5.0.0 release which locked it at>= 12.14but after digging into it the change requires a newer version. As chef 12 is EOL we are gonna roll forward rather than backwards (@majormoses)
5.1.1 - 2018-05-30
- version detection for server 2008 (@smcavallo)
5.1.0 - 2018-05-08
- fixed pulling newer sensu packages on windows as the repo structure changed and needs to include the os version (@ridiculousness)
- logrotate in windows (@ridiculousness)
5.0.0 - 2018-05-04
- removed legacy
aptandyumdependencies and require chef client>= 12.14(@tas50)
4.4.0 - 2018-05-04
- native support for
ttlchecks (@majormoses)
4.3.1 - 2018-04-11
- reverted #468 per #564 (@majormoses)
4.3.0 - 2018-03-28
- pulling in latest release
redisiocookbook to fix chef 13 compatibility (@majormoses)
4.2.1 - 2018-03-04
- Enable gpg check for all linux repo installs using a key downloaded over HTTPS. Download windows MSI over HTTPS. #578 (@mike-stewart)
4.2.0 - 2018-02-16
- native support for proxy client checks (formerly known as JIT) to the
checkprovider by accepting asourceparameter (@majormoses) - misc development dependencies that were missing (@majormoses)
4.1.0 - 2017-12-14
- ability to control
yum_package'sflush_cacheparameter by specifyingnode['sensu']['yum_flush_cache']. This allows you to control chefs in memory cache during achef-clientrun. For more information see here. sensu_gemnow optionally accepts asourceparameter ofStringorArraywhen using an action of:upgrade.This could be a local file or a URL. For more information see here
4.0.6 - 2017-09-12
- on systems with restrictive umasks the permissions for rabbitmq ssl directories ended up with permissions that made it non functional. This sets them to the required permissions to make things work (@jessebolson)
4.0.5 - 2017-09-12
client.jsonshould now be used bynode['sensu']['user']rather thannode['sensu']['admin_user']
4.0.4 - 2017-09-12
- added example in
README.mdhow to easily install a bunch of sensu plugins into the emebedded ruby context (@majormoses)
4.0.3 - 2017-09-12
- added support for suse linux (@runningman84)
4.0.2 - 2017-07-06
- Tests now run via ChefDK
- Updated node attribute syntax for Chef 13 compatibility
- Updated recipes to allow for "amazon" platform family under Chef 13
-
When given a value,
node["sensu"]["yum_repo_releasever"]attribute will be used in lieu of$releaseveryum variable, restoring support for RHEL derivatives, e.g. Amazon Linux. -
When given a value,
node["sensu"]["apt_repo_codename"]attribute will be used in lieu of the LSB codename detected by ohai on Debian and Ubuntu.
4.0.0 - 2017-03-14
- Due to sysv init scripts being replaced with systemd unit files on select platforms, upgrading Sensu package from version < 0.27 to >= 0.27 may leave Sensu services in an unexpected state. This cookbook does not attempt to address this condition. See the Sensu 0.27 changelog for further details.
As required to support Sensu 0.27 and later:
-
Configuration of yum and apt package repositories have changed to target per-platform version packages, using
$releaseveror release codename, respectively. -
The
init_styleattribute has been removed fromsensu_serviceresource. Thesensu_serviceresource will now use Chef's defaultserviceprovider on each platform.
The default version of Sensu is now 0.28.4
The default version of Sensu Enterprise is now 2.5.1
The default version of Sensu Enterprise Dashboard is now 2.3.0
-
sensu_check resources can now be deleted without requiring
standaloneorsubscriptionsattributes -
The built-in Administrator group should now be usable for the value of
node["sensu"]["group"]on Windows platforms.
3.2.0 - 2017-01-10
The runit init_style is now deprecated and will be removed in the next
major version of this cookbook.
Added days parameter to sensu_filter resources. This parameter accepts
a hash of time windows passed as the value of a filter's when
attribute. See the filter reference
doc
for more detail on time windows.
Added new attributes added for configuring Sensu Enterprise max open files and heap dump path parameters.
The default version of Sensu is now 0.26.5
The default version of Sensu Enterprise is now 1.14.10
The default version of Sensu Enterprise Dashboard is now 1.12.0
The account created for Sensu on Windows now uses the
node["sensu"]["user"] attribute instead of a hard-coded value.
For purposes of releasing this cookbook, emeril has been replaced with stove.
3.1.2 - 2016-09-29
The _enterprise_repo recipe now configures yum repos for both noarch
and $basearch so that sensu-enterprise-dashboard package can be installed.
Due to upstream repository changes, the default value of
node['sensu']['enterprise-dashboard]['version'] has changed from
1:1.4.0-1 to 1.4.0-1.
3.1.0 - 2016-09-23
The default version of Sensu installed by this cookbook is now 0.26.3-1.
Eliminated resource cloning warnings when calling rabbitmq_credentials definition.
Replaced librarian-chef with Berkshelf.
Updated test-kitchen configuration for windows platforms.
Updated metadata to depend on Chef >= 12.
Updated dependencies for yum, apt and windows cookbooks to make sense for Chef >= 12.
Added support for AIX platform
Added support for configuring SENSU_LOADED_TEMPFILE_DIR via node["sensu"]["loaded_tempfile_dir"]
Added logic for detecting gem binary path on Windows platform
Using baseurl attribute for yum_repository instead of url property
Fixed broken tests for availability of sensitive attribute
3.0.0 - 2016-08-09
This cookbook now supports Chef version 12+. Earlier versions may work but are not supported.
The default version of Sensu installed by this cookbook is now 0.25.6-1.
The default value of node["sensu"]["use_embedded_ruby"] is now true.
The rabbitmq recipe now installs Erlang via the Erlang Solutions repository on all platforms.
Installation of the .NET Framework is now handled by the ms_dotnet cookbook.
Sensu Enterprise repository URL is now configurable via attributes.
Sensu Enterprise JVM options are now configurable via attributes.
Sensu transport name is now configurable via attributes.
The sensu_base_config provider now honors node["rabbitmq"]["hosts"] attribute,
providing an array of hosts to use for configuring rabbitmq transport with multiple brokers.
When hosts attribute has no value, we fall back to value of node["sensu"]["rabbitmq"]["host"]
attribute.
The sensu_client provider now honors the following additional client
attributes, as defined in the Sensu Client Reference Documentation:
- deregister
- deregistration
- keepalives
- redact
- registration
- safe_mode
- socket
Check definition LWRP has been updated to support named aggregates (added in Sensu 0.25) and multiple named aggregates (coming in Sensu 0.26).
Integration tests for Windows now use the new Chef Zero Scheduled Task provider which makes testing this platform much easier.
Expanded unit tests in many areas, including sensu_base_config,
sensu_client, sensu_json_file and other LWRPs.
Directories created by the sensu_json_file provider now assume the mode
defined by the value of node["sensu"]["directory_mode"] attribute.
The method used to look up sensu_service_trigger ruby block in the
resource collection has been updated to eliminate conditions where Sensu
services may not be notified to restart.
Resources are now created by the sensu_json_file provider
unconditinally, unblocking the use of library cookbooks like zap to
clean up unmanaged files on disk.
2.12.0 - 2016-03-14
The Sensu cookbook project has adopted a new contribution workflow and a new code of conduct policy. Please see the relevant documents in repo for details.
Values for owner and group properties on sensu_json_file resources
now default to lazy evaluation of node attributes sensu.admin_user and
sensu.group respectively. (#426)
Data bags remain default source of SSL certificates, but are now optional:
With the addition of Sensu state helpers in #410 recipes which
access credentials via data bags (i.e. `default`, `rabbitmq` and
`enterprise` recipes) have been updated to make these data bag
items optional.
Please see the readme and integration test suite for examples of
using these helpers.
Testing notes have been added in TESTING.md to describe some of the
platform/suite combinations which are disabled or otherwise
require special configuration.
Added ChefSpec test coverage for the following:
defaultandclient_servicerecipessensu_gemLWRP- Sensu::Helpers library
#select_attributesand#gem_binarymethods
Added source attribute to sensu_gem resource Added upgrade action to sensu_gem resource Added helpers for storing key/value pairs which persist for duration of the Chef run
Allow "standard" as a value of type attribute on sensu_check resources, as described in Sensu documentation.