sensu / sensu-chef

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

[sensu_check] validate subscribers/standalone on create action only #538

Closed cwjohnston closed 7 years ago

cwjohnston commented 7 years ago

Description

This change introduces conditional logic to validate subscriptions or standalone settings on sensu_check resources only when the action is :create.

Motivation and Context

Closes #536

How Has This Been Tested?

Added unit test coverage.

Types of changes

Checklist: