puppetlabs / puppetlabs/puppetlabs-docker
docker::registry fails
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 94
- Forks
- 337
- Avg merge
- 11d 15h
- Merged PRs (30d)
- 2
Description
Describe the Bug
docker::registry fails with
Error: Failed to apply catalog: undefined method `scan' for #<Puppet::Pops::Evaluator::DeferredValue:0x00007efedfaa8658 @proc=#<Proc:0x00007efedfaa86a8 /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/pops/evaluator/deferred_resolver.rb:173>>
Expected Behavior
Logging on to the registry.
Steps to Reproduce
Add the following code to your manifest:
docker::registry { 'example.docker.io:5000':
username => 'user',
password => 'secret',
}
You can substitute a valid registry, userid and password, but you will still get this error
Environment
- Version 9.1.0
- Platform Rocky Linux release 8.8 (Green Obsidian)
Additional Context
This is the example from the documentation.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the documented docker::registry manifest shown in the issue and reproduce the catalog application on Puppet 9.1.0 using the reported Rocky Linux environment. Trace the undefined scan call on Puppet::Pops::Evaluator::DeferredValue; done means the example applies successfully and logs on to the registry.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, ruby
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100