support for file sync outside repo; improved hash merging with hiera