Open barskern opened 8 months ago
When passing a Deferred value to the postgres_password parameter I get the following error message:
Deferred
postgres_password
Failed on [...]: Apply failed to compile for [...]: 'postgresql::postgresql_escape' parameter 'input_string' expects a String value, got Deferred (file: /[...]/.modules/postgresql/manifests/server/passwd.pp, line: 28, column: 16)
Expected deferred values to work, that is simply setting the value to the deferred value.
Setup a default instance and run something similar to the below:
class { '::postgresql::server': postgres_password => Deferred('unwrap', [$admin_password_vault]), }
This seems to have been implemented for role passwords, but not the root password.
Describe the Bug
When passing a
Deferred
value to thepostgres_password
parameter I get the following error message:Expected Behavior
Expected deferred values to work, that is simply setting the value to the deferred value.
Steps to Reproduce
Setup a default instance and run something similar to the below:
Environment
Additional Context