Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- databaseglobals:
- cmd.run:
- - name: |
- ssh maayan.insightcruises.com pg_dumpall -g | psql -U pgsql template1
- touch /usr/local/pgsql/data/SALT-GLOBALS-LOADED
- - unless: '[ -f /usr/local/pgsql/data/SALT-GLOBALS-LOADED ]'
- - require:
- - service: postgresl
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement