Those will work for horizontal or vertical, but most, if able, will just mount the turret housing to the soffit/surface and put the pigtail through a bigger hole.
Another option is these. They sometimes give a cleaner look, even though they protrude a little more...