this would be easier if the hiera function had documentation...