Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Templating in *.yml happens before merge with TEMPLATER_OVERRIDE. #181

Closed
nyodas opened this issue Jul 20, 2016 · 2 comments
Closed

Templating in *.yml happens before merge with TEMPLATER_OVERRIDE. #181

nyodas opened this issue Jul 20, 2016 · 2 comments

Comments

@nyodas
Copy link

nyodas commented Jul 20, 2016

The templating specified in the attibutes/*.yml in a pod happens before the merge of $TEMPLATER_OVERRIDE and them.

in aci:

Users:
    bob: a

in pod:

AllowUsers: '{{range $i,$d := .sshd.Users}}{{$i}} {{end}}'
Users:
    healtcheck: a

in TEMPLATER_OVERRIDE

Users:
    yolo: a

rendered.

AllowUsers: "bob healthcheck"

Is it working as intended ?

@n0rad
Copy link
Member

n0rad commented Jul 21, 2016

nop,

Nice catch. I will fix it

@n0rad
Copy link
Member

n0rad commented Jul 27, 2016

fixed in v72

@n0rad n0rad closed this as completed Jul 27, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants