Module autofs now has a autofs::loader which will load stuff from hiera.