Does a Water heater need to be in an enclosure if installed outside?

Ok back in and I will not even comment on the goofy thing past how it it takes to burn down the house.
Unlit pilot may be a blessing or is it now safe to have fire pits on the wall?