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

Bug #1693020 reported by Chad Smith
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Expired
Low
Unassigned

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.

Tags: bite-size
Chad Smith (chad.smith)
description: updated
Revision history for this message
James Falcon (falcojr) wrote :
Changed in cloud-init:
status: Triaged → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.