You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently working on adding this module to our puppet infrastucture and I am having a hard time to use it. We manage our secrets with vault and thus we would also like to fetch the mongodb password from vault and not store it in plain text in our puppet repository for obvious security reasons.
I am searching for a way that allows me to read the password either from a file or another parameter which is able to get a Deferred value for evaluation on the agent, not the puppetserver itself since those have no access to these secrets.
Is there already a solution I am not finding/overlooking or else is there a plan to support Deferred values?
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Mongodb::Db[Users]: parameter 'password' expects a value of type Undef or String, got Deferred
What behaviour did you expect instead
No error
Output log
Any additional information you'd like to impart
The text was updated successfully, but these errors were encountered:
This is only an issue when referencing a deferred result through a deferred function. The following use of the mongodb_password function works (puppet-mongodb: 5.0.0, puppet: 7.29.1):
Hi!
I am currently working on adding this module to our puppet infrastucture and I am having a hard time to use it. We manage our secrets with vault and thus we would also like to fetch the mongodb password from vault and not store it in plain text in our puppet repository for obvious security reasons.
I am searching for a way that allows me to read the password either from a file or another parameter which is able to get a
Deferred
value for evaluation on the agent, not the puppetserver itself since those have no access to these secrets.Is there already a solution I am not finding/overlooking or else is there a plan to support
Deferred
values?Thank you very much! 🙂
How to reproduce (e.g Puppet code you use)
This is currently my code:
What are you seeing
What behaviour did you expect instead
No error
Output log
Any additional information you'd like to impart
The text was updated successfully, but these errors were encountered: