When using the Deferred function of puppet it will fails on docker::registry.
Sample code:
docker::registry { 'foo':
username => Deferred(foo_function, [foo_option]),
password => Deferred(foo_function, [foo_option]),
}
will fails with:
parameter 'username' expects a value of type Undef or String, got Deferred
parameter 'password' expects a value of type Undef or String, got Deferred
The same will happens when using Sensitive(Deferred(..))
parameter 'username' expects a value of type Undef or String, got Sensitive[Deferred]
parameter 'password' expects a value of type Undef or String, got Sensitive[Deferred]
When using the Deferred function of puppet it will fails on docker::registry.
Sample code:
will fails with:
The same will happens when using Sensitive(Deferred(..))