← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1693020] [NEW] Cloud.get_template_filename should start with distro-specific template and fallback to generic template files before warning !found

 

Public bug reported:

We need get_template_filename to always start at a granular cloud
distro-scope, if the distro-specific file doesn't exist, fallback to a
generic scoped template name and ultimately warn on missing template if
neither exist.

This functionality could be used by ntp, hosts and sources template
renderers.

Also rename ntp.sles.tmpl -> ntp.suse.tmpl as part of this work.

** Affects: cloud-init
     Importance: Low
         Status: Triaged


** Tags: bite-size

** Description changed:

  We need get_template_filename to always start at a granular cloud
  distro-scope, if the distro-specific file doesn't exist, fallback to a
  generic scoped template name and ultimately warn on missing template if
  neither exist.
  
  This functionality could be used by ntp, hosts and sources template
  renderers.
  
- Also rename hosts.sles.tmpl -> hosts.suse.tmpl as part of this work.
+ Also rename ntp.sles.tmpl -> ntp.suse.tmpl as part of this work.

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1693020

Title:
  Cloud.get_template_filename should start with distro-specific template
  and fallback to generic template files before warning !found

Status in cloud-init:
  Triaged

Bug description:
  We need get_template_filename to always start at a granular cloud
  distro-scope, if the distro-specific file doesn't exist, fallback to a
  generic scoped template name and ultimately warn on missing template
  if neither exist.

  This functionality could be used by ntp, hosts and sources template
  renderers.

  Also rename ntp.sles.tmpl -> ntp.suse.tmpl as part of this work.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1693020/+subscriptions


Follow ups