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

supress warnings #304

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

supress warnings #304

wants to merge 3 commits into from

Conversation

trefzer
Copy link
Contributor

@trefzer trefzer commented Oct 13, 2023

Add parameters to supress warnings, since my monitoring is not happy with warnings !

set this to true, to not display the puppet warning that
the current value cannot be checked.
set this to true, to not display the puppet warning that
the current value cannot be checked.
set this to true, to not display the puppet warning that
the current value cannot be checked.
@treydock
Copy link
Owner

What about the ability to suppress all warnings with a single property?

https://github.com/treydock/puppet-module-keycloak/blob/master/lib/puppet/type/keycloak_api.rb

That allows setting things that can be accessed by all types/providers.

They are set here: https://github.com/treydock/puppet-module-keycloak/blob/master/lib/puppet/provider/keycloak_api.rb#L13-L22

You can then do like if self.class.suppress_warnings in instance methods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants