Merge pull request #238 from noelmcloughlin/macos

Fix file.managed for macos
This commit is contained in:
Niels Abspoel 2018-08-31 09:41:43 +02:00 committed by GitHub
commit 096293be22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,7 +40,7 @@ postgresql-{{ bin }}-altinstall:
postgres_maxfiles_limits_conf: postgres_maxfiles_limits_conf:
file.managed: file.managed:
- name: /Library/LaunchDaemons/limit.maxfiles.plist - name: /Library/LaunchDaemons/limit.maxfiles.plist
- source: salt://{{ tpldir }}/../templates/limit.maxfiles.plist - source: salt://postgres/templates/limit.maxfiles.plist
- template: jinja - template: jinja
- context: - context:
soft_limit: {{ postgres.limits.soft }} soft_limit: {{ postgres.limits.soft }}
@ -59,7 +59,7 @@ postgres-desktop-shortcut-clean:
postgres-desktop-shortcut-add: postgres-desktop-shortcut-add:
file.managed: file.managed:
- name: /tmp/mac_shortcut.sh - name: /tmp/mac_shortcut.sh
- source: salt://{{ tpldir }}/templates/mac_shortcut.sh - source: salt://postgres/templates/mac_shortcut.sh
- mode: 755 - mode: 755
- template: jinja - template: jinja
- context: - context: