Hi all,

I'm using puppetlabs/apache 1.7.0, puppet 3.8.7 and hiera 1.3.4.
I'd like to ask you 3 questions:

1) Is there any way to set CustomLog in the httpd.conf without changing the
default template? I don't find a way to add custom entries in the server
conf file.

2) how can I scape %{Refer}in hiera? I have the line:
  vhost_combined: '%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\"
\"%{User-Agent}i\"'

and tried several ways to escape %{Refer} and %{User-Agent} but both are
always interpreted as a vriables, thus become and empty string:

   LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"i\" \"i\"" vhost_combined

I tried %% , \%, \%\{, literal .... none worked .

3) apache::vhost is a define, how can I set in hiera a default for all
vhosts? the same way that I do for classes, something like:

apache::vhost::access_log: false

but for a define... is that possible? (without calling create_resource).

TIA,
Arnau

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAM69jx9-xq6RP%3DFeOvQjnhP0-FeT%3D%2BKN4JUVe7xaf456JC53XA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to