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

get return values instead of fatal errors #332

Open
mvogt1 opened this issue Sep 30, 2022 · 0 comments
Open

get return values instead of fatal errors #332

mvogt1 opened this issue Sep 30, 2022 · 0 comments

Comments

@mvogt1
Copy link

mvogt1 commented Sep 30, 2022

using eyaml in puppet like:

$method = lookup('secret::password_eyaml',String,undef,"INVALID")

is not fault tolerant. Everytime something goes wrong puppet aborts:

  • if private key is not found -> fatal error
  • if decoding fails -> fatal error

This is not how this should be handled.
I like to get some status code so that I can react on the circumstances.
The subsystem should not fail with error/exit.

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

No branches or pull requests

1 participant