When I define:
class MyConfig
extend Mixlib::Config
config_context :context_a
end
end
and my config looks like:
option :value
context_a['a_option'] = a_value
context_b['b_option'] = b_value
and I load my config, I get:
undefined method `[]=' on nil
When my config class is defined with config_context :context_b, I do not get an error.
It would be nice if Mixlib::Config would ignore undefined config contexts when config_strict_mode is false (or unset). This would allow us to define extensible configs that can be read by multiple applications.