Configuration error: No MPM loaded when using validate in apache role

Hello Guys,

I am sure this is a little issue many of you have already solve but I seem stuck about this rc:1 error:AH00534: apache2: Configuration error: No MPM loaded when I use validate in tempate module of my apache role.

Everything works file when commented out. Looks like so many fix on google , some about making getting the mpm module used (depends on OS) and using the right one, but it seems ubuntu node which I am using is nicely configured with those defaults so I am out of options here.

My work in on pastie.org

Kindly shed some light on what I am doing wrong.

Best Regards,

validate checks the file BEFORE putting it into place, since you are
using a multifile configuration, the validation will always fail as it
is missing the rest of the apache config.

validate is only useful with single file configurations

Hello Brian,

Thank you.

Hello All,

I have tried with single configuration this time but it didn’t work still. I get the part it checks before but in my case I was not even using it. it’s part of a include file task that would get skipped anyway. So am not too sure how to make this compatible with my include_file_based_on_condition bit.

How does that work?

Best Regards,

it does not, that is my point