updated for use with calling modules for hiera.