-
Notifications
You must be signed in to change notification settings - Fork 366
Use tpldir for template files too #187
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
Use tpldir for template files too #187
Conversation
mysql/config.sls
Outdated
| - source: salt://{{ tpldir }}/files/server.cnf | ||
| {% if os_family in ['Debian', 'Gentoo', 'RedHat'] %} | ||
| - context: | ||
| tpldir: {{ tpldir }} |
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.
for consistent indentation, remove two spaces
mysql/config.sls
Outdated
| - source: salt://{{ tpldir }}/files/galera.cnf | ||
| {% if os_family in ['Debian', 'Gentoo', 'RedHat'] %} | ||
| - context: | ||
| tpldir: {{ tpldir }} |
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.
remove two spaces
mysql/config.sls
Outdated
| - source: salt://{{ tpldir }}/files/client.cnf | ||
| {% if os_family in ['Debian', 'Gentoo', 'RedHat'] %} | ||
| - context: | ||
| tpldir: {{ tpldir }} |
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.
remove two spaces
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.
This is good addition. can you fix minor indentation inconsistency so we can merge this!! thanks @mkotsbak
mysql/config.sls
Outdated
| - source: salt://{{ tpldir }}/files/my.cnf | ||
| {% endif %} | ||
| - context: | ||
| tpldir: {{ tpldir }} |
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.
-2 spaces
Using tpldir sent to templates through context.
bc42a99 to
2b55567
Compare
|
Pushed updated commit. Good now? |
Using tpldir sent to templates through context.