Copy all config files on a minion
ClosedPublic

Authored by mkrizek on Nov 24 2015, 2:34 PM.

Details

Summary

This doesn't try to look explicitly for each our config file (taskotron.yaml and yumrepoinfo.conf at the moment) but rather copies the whole config directory. Since there are more possibilities where the files might be stored, we copy all dirs starting with the one with the least priority and then overwrite with those with higher priority. This is rather naive solution but scales better if we decide to add additional config files in the future. Thoughts?

Test Plan

Config files were copied and overwritten according to the priority.

Diff Detail

Repository
rLTRN libtaskotron
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
mkrizek retitled this revision from to Copy all config files on a minion.Nov 24 2015, 2:34 PM
mkrizek updated this object.
mkrizek edited the test plan for this revision. (Show Details)
mkrizek added reviewers: tflink, kparal, jskladan, lbrabec.
jskladan accepted this revision.Nov 24 2015, 2:47 PM
This revision is now accepted and ready to land.Nov 24 2015, 2:47 PM
tflink accepted this revision.Nov 24 2015, 4:45 PM
This revision was automatically updated to reflect the committed changes.