A zero clearance fireplace or prefabricated insulated metal cabinet with a metal flue, that burns natural gas or propane rather than wood. The units are equipped with an automatic ignition system that allows them to be controlled by a wall switch, button or remote control.