allow for repository customization using hiera

Allow for repository disabling.
I'm not sure about the metadata.json which was magically changed here.