create puppet resources with a single hiera call