Skip to content

[3.9.1] Deferred/Sensitive not woking for docker::registry #789

Description

@tuxmaster5000

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]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions