Skip to content

Classifier API: Make background class update configureable #56

@bastelfreak

Description

@bastelfreak

Use Case

By default, the PE Classifier asks the puppetserver for a list of environments + list of classes periodically in the background. There's also an API call to explicitly trigger an update: https://www.puppet.com/docs/pe/2023.8/update_classes_endpoint

When people use the API call, it is not required to run the background job as well. So I think it would be nice to disable it.

Describe the Solution You Would Like

Make background class update configureable / add opt-out option

Describe Alternatives You've Considered

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

Additional Context

I would have tried to provide a patch instead, but the git repository is private and not accessible by partners.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions