Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I assume you are using puppetlabs-apache? If so, I believe what you need is:

error_documents  =>  [ { 'error_code' => '502', 'document' => 'This is a test'} ],

The parse error is because it's expecting an array of hashes and you can't have just a string in there. It needs a key in front.