Fixed my own problem. The closing square bracket was a few lines too low and some other hash elements were being accidentally included and passed to error_documents. Sorry for the noise!

On 29/01/15 11:48, Jonathan Gazeley wrote:
Hi folks,

I'm hitting an unexpected problem with puppetlabs/apache.

I have an apache::vhost declaration which includes the following block:

    error_documents => [
      {
        'error_code' => '404',
        'document'   => '/error_docs/404.html'
      },
      {
        'error_code' => '403',
        'document'   => '/error_docs/403.html'
      },


However it produces this output, which causes apache to fail to start:

  ErrorDocument 404 /error_docs/404.html
  ErrorDocument 403 /error_docs/403.html
  ErrorDocument
  ErrorDocument
  ErrorDocument
  ErrorDocument

Any hints?

Thanks,
Jonathan

--
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/54CA1F4A.7030802%40bristol.ac.uk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to