puppetlabs / puppetlabs/puppetlabs-apache
Change type of custom fragment with any or tuple
Nobody has claimed this yet.
- Dominant language
- Puppet
- Stars
- 356
- Forks
- 1.1k
- Avg merge
- 3m
- Merged PRs (30d)
- 1
Description
Use Case
Add proxyremote conf with noproxy in the cutom fragment
because this mode is not present in apache module
Describe the Solution You Would Like
Use an array to declare each row in the custom fragment instead of a string
Additional Context
if i add to my config, in the conf file apache, the data are not correctly indented if a use hiera
It's necessary to add \n and to escape double quotes to declare the entries like
custom_fragment: "ProxyRemote \"*\" \"https://srv1.cg59.fr:3000\"\n
NoProxy \".intranet.example\" \"172.\" \"192\" \"localhost\" \"127.0.0.1\" \".another.domain\""
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 by locating how custom_fragment is handled in the module and how it renders Apache configuration from Hiera. Verify the behavior with ProxyRemote and NoProxy entries represented as separate array rows, and consider the work done when those entries render with correct indentation without embedded newline or quote escaping.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- apache
- Domain
- devops
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100