sensu / sensu-chef

Sensu Chef cookbook.
https://supermarket.chef.io/cookbooks/sensu
Apache License 2.0
221 stars 280 forks source link

[sensu_service] log deprecation warning when enabling embedded runsvdir #516

Closed cwjohnston closed 8 years ago

cwjohnston commented 8 years ago

Description

This change adds a log message indicating that this feature is deprecated. We'll remove the embedded runit support in version 4.0 of this cookbook.

Motivation and Context

As described in #515, Sensu 0.27 will remove the underlying support for the "runit" init_style.

Closes #515

How Has This Been Tested?

Testing test-kitchen runit suite, observed that the deprecation warning is logged:

* log[sensu_embedded_runit_deprecated] action write[2016-11-02T17:30:19+00:00] WARN: sensu.init_style "runit" is deprecated and will be removed in version 4.0 of this cookbook

Screenshots (if appropriate):

Types of changes

Checklist: