Need a better config class
|Assignee:||Pieter Loubser||% Done:|
|Keywords:||backlog||Affected mCollective version:|
The current config class is all hard coded and horrible regex parsing at the moment, we should improve it:
- config should be expressed in code, like some kind of DSL.
- DSL should set defaults, CLI overrides and ENV based overrides
- DSL should set validations of configs
- plugins config should be improved so that plugins essentially register their interest in specific options, with similar overrides