ntp: fixes #19418 - allow template override

This allows a template to be explicitly set.