chrisschmitz / commandbox-hostupdater

9 stars 12 forks source link

Update ModuleConfig.cfc for processing all env vars #15

Closed gpickin closed 3 years ago

gpickin commented 6 years ago

This should allow the module to process any variable or part of a variable. Example might be you want your host to be "${hostprefix}.mydomain.com" or "192.168.1.${ipSuffix}" or something else.

This duplicates the serverJson variable first, so you dont change the serverJSON before the CLI is ready for it to be processed. Please test before merging.