
Since the chain file contents parameter defaults to undef, on puppet 3 the ERB template evaluates that to the symbol :undef which is not falsey, so if it is left unset it creates an invalid apache config pointing to /etc/apache2/undef. To be safe, explicitly check for any emptyish values. This is only an issue for tests on puppet 3, on puppet 4 undef is correctly evaluated as nil. Change-Id: I380d69f3928e342562c3c63e35a07555163733e8