Templates module not marked as failed when foreman_url is missing
in the logs (now in the nice shiny UI) I can see:
missing :foreman_url: from configurations. 'templates' module is disabled
Yet, I see the feature as active in the list of features.
steps to reproduce are simple - comment out the foreman URL from the proxy configuration.
#4 Updated by Dominic Cleal about 4 years ago
- Project changed from Foreman to Smart Proxy
- Subject changed from smart proxy active feature count is wrong when templates feature is disabled to Templates module not marked as failed when foreman_url is missing
- Category changed from Smart Proxy to Templates
#6 Updated by Dominic Cleal about 4 years ago
#13028 contains a fix for this issue, as it now raises an exception from the templates module when the setting is missing, which both disables the module and logs that it's disabled. The current impl on develop calls the disable API from within the module itself, forgoing the logging.