Skip to content

Instantly share code, notes, and snippets.

Created September 6, 2017 21:04
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 anonymous/9c526da112ec108b677cdf99f763fd81 to your computer and use it in GitHub Desktop.
Save anonymous/9c526da112ec108b677cdf99f763fd81 to your computer and use it in GitHub Desktop.
# pillar
#!yaml|gpg
postgresql:
enabled: true
pkg: postgresql95-devel
pgpassfiles:
- user: root
group: root
user_home: /root
connections:
- hostname: somethingsomethingpostgres.cu4hru4kamuh.us-east-1.rds.amazonaws.com
port: 5432
database: *
username: masteruser
password: |
-----BEGIN PGP MESSAGE-----
...
# Error from /var/log/salt/master
2017-09-06 20:05:00,915 [salt.pillar ][CRITICAL][761] Rendering SLS 'postgresql.conn_prod_dbserver' failed, render error:
expected alphabetic or numeric character, but found '\n'; line 12
---
[...]
group: root
user_home: /root
connections:
- hostname: somethingsomethingpostgres.cu4hru4kamuh.us-east-1.rds.amazonaws.com
port: 5432
database: * <======================
username: masteruser
password: |
-----BEGIN PGP MESSAGE-----
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment