-
Notifications
You must be signed in to change notification settings - Fork 796
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
Add Deferred for the mysql::password function #1581
Comments
Are you also deferring the call to |
What do you mean? I have used the sample code above. |
If the call to So does something like... Deferred('mysql::password', [
Deferred('vault_lookup::lookup', ["secret/test", 'https://vault.docker:8200'])
]) work? |
I will test it next weekend. |
Hi @alexjfisher , to day I tested it, and this works.
|
Use Case
The puppet deferred construct allow to get values from outside of puppet.
For example Hashicorp Vault using
https://forge.puppet.com/modules/puppet/vault_lookup
Describe the Solution You Would Like
That an call to:
mysql::password(Deferred('',[])) will work.
Until not only the error:
'mysql::password' parameter 'password' expects a value of type String or Sensitive[String], got Deferred
will reported.
The text was updated successfully, but these errors were encountered: