Add boolean setting to decide whether to manage apache

I found the defined() check wasn't reliable so by adding the boolean setting you can explicitly tell it not to do anything.