I notice that you mention "on" the wall rather than "in". If you surface mount it, you shouldn't have a problem. Be sure to caulk any penetrations in the wall with an approved fire caulk