Skip to content
  • Sami Hiltunen's avatar
    Match Praefect's configuration format in Omnibus · 4dff04a6
    Sami Hiltunen authored and Robert Marshall's avatar Robert Marshall committed
    The configuration formats of Praefect and Omnibus deviate from each
    other creating a few problems:
    
    1. Configuration keys for the same option differ between the context of
       Omnibus and Praefect creating confusion for the user.
    
    2. Each new key added requires duplicate work to map the different keys
       into Omnibus.
    
    This change introduces praefect['configuration'] matching configuration
    in Omnibus with Praefect's own format. The previous configuration keys
    are remapped into this new format to assist administrators during the
    transition period.
    
    The tomlrb gem does not supporting encoding TOML, so the tomlib gem has
    been added as a dependency. The configuration values are now serialized
    directly into TOML instead of using a template.
    
    Removes unneeded values allowing Praefect's own source to be the single
    source of truth for configuration.
    
    Updates tests because the new serialization method does not output empty
    config sections.
    
    Guards are included to pre...
    4dff04a6