Skip to content

Instantly share code, notes, and snippets.

@cebe

cebe/init.sls Secret

Created September 26, 2017 11:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cebe/1c3d1e4df62e10642d8401d3e706b622 to your computer and use it in GitHub Desktop.
Save cebe/1c3d1e4df62e10642d8401d3e706b622 to your computer and use it in GitHub Desktop.
/etc/postgresql/9.6/test/postgresql.conf:
file.line:
- mode: replace
- content: listen_addresses = '*'
- match: listen_addresses =
- require:
- cmd: pg_cluster_test
file.managed:
- user: postgres
- group: postgres
pg_ctlcluster 9.6 test restart:
cmd.run:
- onchanges:
- file: /etc/postgresql/9.6/test/postgresql.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment