Closed davidphay closed 1 year ago
Add option to disable api validation when deploying sensu agent
Currently, when you deploy a sensu agent it makes 2 sensu API call, but I don't wan't explose the credential on agent side
https://github.com/sensu/sensu-puppet/issues/1322 Apply requested change in the following PR https://github.com/sensu/sensu-puppet/pull/1328
Fixes # .
I use Sensu myself and I've always deployed agents to be "standalone" and would like to be able to continue that way.
Deployed it within my org, added:
sensu::validate_api: false sensu::agent::agent_managed_entity: true
[x] Update README.md with any necessary configuration snippets
README.md
[x] New parameters are documented
[ ] New parameters have tests
[x] Tests pass - bundle exec rake validate lint spec
bundle exec rake validate lint spec
Closed in favor of #1332 1332
Pull Request Checklist
Add option to disable api validation when deploying sensu agent
Description
Currently, when you deploy a sensu agent it makes 2 sensu API call, but I don't wan't explose the credential on agent side
Related Issue
https://github.com/sensu/sensu-puppet/issues/1322 Apply requested change in the following PR https://github.com/sensu/sensu-puppet/pull/1328
Fixes # .
Motivation and Context
I use Sensu myself and I've always deployed agents to be "standalone" and would like to be able to continue that way.
How Has This Been Tested?
Deployed it within my org, added:
General
[x] Update
README.md
with any necessary configuration snippets[x] New parameters are documented
[ ] New parameters have tests
[x] Tests pass -
bundle exec rake validate lint spec