Shared code for the Habitat config system