Added hiera.yaml to update configs and fixed error