-
Notifications
You must be signed in to change notification settings - Fork 286
Make formula relative to actual directory by using 'tpldir' #211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make formula relative to actual directory by using 'tpldir' #211
Conversation
|
@noelmcloughlin can you test this and see if we can merge it? |
|
Yes, no problem @aboe76 will test today. |
postgres/macos/postgresapp.sls
Outdated
| @@ -1,4 +1,4 @@ | |||
| {% from "postgres/map.jinja" import postgres as pg with context %} | |||
| {%- from salt.file.dirname(tpldir) ~ "/map.jinja" import postgres with context -%} | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Value needs to be 'pg'
Rendering SLS 'base:postgres.macos.postgresapp' failed: Jinja variable 'pg' is undefined
noelmcloughlin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM on Salt 2018.03. One minor issue to fix.
d41f29c to
6903496
Compare
6903496 to
dd526f1
Compare
|
Ah, didn't notice that import line difference. Fixed, rebased and pushed PR branch again. |
|
@mkotsbak and @noelmcloughlin thanks for your hard work |
|
@EvaSDK thanks for the first review |
Maintain consistent use of `tpldir` (continues from #211)
The rest of the references are impossible to make realtive yes because of saltstack/salt#41195