puppetlabs-apache icon indicating copy to clipboard operation
puppetlabs-apache copied to clipboard

Change type of custom fragment with any or tuple

Open Jerem59 opened this issue 2 years ago • 0 comments

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\""

Jerem59 avatar Oct 25 '23 09:10 Jerem59