When a module creates a Habitat config, it will create both an instance and a class method called settings. If you include more than 1 module with habitat settings, then the last included one ends up overriding the previous ones.
This fixes the two areas where these could collide.
Checklist
[x] - An issue already exists detailing the issue/or feature request that this PR fixes
[x] - All specs are formatted with crystal tool format spec src
[x] - Inline documentation has been added and/or updated
[x] - Lucky builds on docker with ./script/setup
[x] - All builds and specs pass on docker with ./script/test
Purpose
Fixes #1685
Description
When a module creates a Habitat config, it will create both an instance and a class method called
settings
. If you include more than 1 module with habitat settings, then the last included one ends up overriding the previous ones.This fixes the two areas where these could collide.
Checklist
crystal tool format spec src
./script/setup
./script/test