Add append_domain grain if its set in the config
Merge pull request #3851 from jesusaurus/feature/newgrain

Add append_domain grain if its set in the config