puppetlabs / puppetlabs/puppetlabs-stdlib
uriescape function deprecated on P7 - no alternative on P8
Open
Nobody has claimed this yet.
community
- Dominant language
- Ruby
- Stars
- 349
- Forks
- 573
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 1
Description
Describe the Bug
With puppet 8
# --- Caused by: ---
# Puppet::ParseError:
# Puppet: This function is not available in Puppet 8. URI.escape no longer exists as of Ruby 3+.
# ./spec/fixtures/modules/stdlib/lib/puppet/parser/functions/uriescape.rb:23:in `block in <module:Functions>'
Environment
- Puppet 8
I don't see any alternative function to use ?
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 spec/fixtures/modules/stdlib/lib/puppet/parser/functions/uriescape.rb and reproduce the reported failure under Puppet 8. Trace how the uriescape function handles URI.escape, then inspect nearby tests or fixtures for the expected behavior. Done means the function has a supported Puppet 8-compatible path with coverage for the reported case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100