← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1913461] [NEW] Need jinja templating in config files

 

Public bug reported:

It may be interresting to parse config files in
/etc/cloud/cloud.cfg/*.cfg for jinja templating.

As an example :

## template: jinja
#cloud-config

runcmd:
  - [hostname, "{{ ds.meta_data.tags.Name }}"]
  # - [hostname, "$(cloud-init query ds.meta_data.tags.Name)"]

** Affects: cloud-init
     Importance: Undecided
         Status: New


** Tags: templating

-- 
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/1913461

Title:
  Need jinja templating in config files

Status in cloud-init:
  New

Bug description:
  It may be interresting to parse config files in
  /etc/cloud/cloud.cfg/*.cfg for jinja templating.

  As an example :

  ## template: jinja
  #cloud-config

  runcmd:
    - [hostname, "{{ ds.meta_data.tags.Name }}"]
    # - [hostname, "$(cloud-init query ds.meta_data.tags.Name)"]

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


Follow ups