-
-
Save jamesbeedy/2c179a7d0a71209f8ccd0183478db9d5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@when('pgsql.master.available', 'prmdb.requested') | |
@when_not('prm.postgresql.available') | |
def get_set_prmdb_data(pgsql): | |
"""Get/set prmdb details | |
status_set('maintenance', | |
'Getting/Setting details for PRM db.') | |
# Create PRM_DB_DATA dict | |
PRM_DB_DATA = {'user': pgsql.master.user, | |
'pass': pgsql.master.password, | |
'host': pgsql.master.host, | |
'db': pgsql.master.dbname} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment