limits file has jinja context; fix #213
This commit is contained in:
@@ -45,9 +45,10 @@ postgres_maxfiles_limits_conf:
|
||||
file.managed:
|
||||
- name: /Library/LaunchDaemons/limit.maxfiles.plist
|
||||
- source: salt://{{ tpldir }}/templates/limit.maxfiles.plist
|
||||
- template: jinja
|
||||
- context:
|
||||
soft_limit: {{ postgres.limits.soft or postgres.limits.hard }}
|
||||
hard_limit: {{ postgres.limits.hard or postgres.limits.soft }}
|
||||
soft_limit: {{ postgres.limits.soft }}
|
||||
hard_limit: {{ postgres.limits.hard }}
|
||||
- group: {{ postgres.group }}
|
||||
{% endif %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user