Skip to content

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