sensu / sensu-puppet

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

allow disable api validation #1331

Closed davidphay closed 1 year ago

davidphay commented 1 year ago

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:

sensu::validate_api: false
sensu::agent::agent_managed_entity: true

General

treydock commented 1 year ago

Closed in favor of #1332 1332