Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Classifier API should be refreshed after each code deploy #41

Open
bastelfreak opened this issue Jun 20, 2024 · 0 comments
Open

Classifier API should be refreshed after each code deploy #41

bastelfreak opened this issue Jun 20, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@bastelfreak
Copy link

Use Case

The documentation has an example for the code-manager to call the classifier API after each deployment. The classifier will then refresh its list of classes:

https://www.puppet.com/docs/pe/2023.1/code_mgr_customizing.html#config_post_env_hooks

puppet_enterprise::master::code_manager::post_environment_hooks: 
  - url: 'https://console.example.com:4433/classifier-api/v1/update-classes' 
    use-client-ssl: true 

I think that should be enabled by default. Without that it's not really clear when the list of classes is refreshed

Describe the Solution You Would Like

Classifier should update itself after each code deploy

Describe Alternatives You've Considered

A clear and concise description of any alternative solutions or features you've considered.

Additional Context

Add any other context or screenshots about the feature request here.

@bastelfreak bastelfreak added the enhancement New feature or request label Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant