Skip to content

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

Closed

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

  1. changed the title [-][] Deferred/Sensitive not woking for docker::registry[/-] [+][3.9.1] Deferred/Sensitive not woking for docker::registry[/+] on Jan 17, 2022
  2. github-actions commented on May 8, 2022

    @github-actions

    This issue has been marked as stale because it has been open for a while and has had no recent activity. If this issue is still important to you please drop a comment below and we will add this to our backlog to complete. Otherwise, it will be closed in 7 days.

  3. jst-cyr commented on Aug 28, 2026

    @jst-cyr
    Member

    #1066 has been opened to address this issue

  4. linked a pull request that will close this issuedocker::registry: accept Sensitive password #1066on Aug 28, 2026
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