We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6840bf3 commit a83c2ccCopy full SHA for a83c2cc
postgres/dev.sls
@@ -45,9 +45,10 @@ postgres_maxfiles_limits_conf:
45
file.managed:
46
- name: /Library/LaunchDaemons/limit.maxfiles.plist
47
- source: salt://{{ tpldir }}/templates/limit.maxfiles.plist
48
+ - template: jinja
49
- context:
- soft_limit: {{ postgres.limits.soft or postgres.limits.hard }}
50
- hard_limit: {{ postgres.limits.hard or postgres.limits.soft }}
+ soft_limit: {{ postgres.limits.soft | default(postgres.limits.hard, true) }}
51
+ hard_limit: {{ postgres.limits.hard | default(postgres.limits.soft, true) }}
52
- group: {{ postgres.group }}
53
{% endif %}
54
0 commit comments