refactor repository settings to attributes
Fix failing repo test
refactor the elasticsearch package install to use attributes