implemented other changes for the pull request
fixing some badly wrotten code for the pull request
changing some defaults for hiera confguration