sensu / sensu-puppet

Sensu Puppet module.
https://github.com/sensu/sensu-puppet
MIT License
165 stars 290 forks source link

Fix catalog compile errors when API validation is disabled on backends #1333

Closed treydock closed 1 year ago

treydock commented 1 year ago

Error without this change using updated tests before fixing the error:

       error during compilation: Could not find resource 'Sensu_api_validator[sensu]' in parameter 'require' (file: /Users/tdockendorf/git/sensu-puppet/spec/fixtures/modules/sensu/manifests/backend.pp, line: 384) on node test.example.com