cloud-init-dev team mailing list archive
-
cloud-init-dev team
-
Mailing list archive
-
Message #03822
Re: [Merge] ~johnguthrie/cloud-init:instance_hostname_subst_for_chef into cloud-init:master
Updated work-in-progress branch that I'll probably sort out next week on this. It's a more generic approach that let's you use jinja templates in any cloud config module
https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/334030
The examples I posted were for custom scripts and puppet, but the same applies to chef.
The jinja template supports the following needs you expressed:
- %i could be serviced in jinja with {{ v1.instance_id|replace('i-', '') }}
- %f serviced by {{ v1.fqdn }}
the benefit here, is a generic application for all modules, not just chef
--
https://code.launchpad.net/~johnguthrie/cloud-init/+git/cloud-init/+merge/331905
Your team cloud-init commiters is requested to review the proposed merge of ~johnguthrie/cloud-init:instance_hostname_subst_for_chef into cloud-init:master.
References