NBCUTechnology / pubstack

⛔️ [DEPRECATED] Publisher's DevStack
MIT License
8 stars 8 forks source link

Create a creds.json file for DB configs (so AWS can mimic Acquia) #157

Closed richburke-nbc closed 7 years ago

richburke-nbc commented 9 years ago

SimpleSAML needs the DB credentials so it can write values to the users & authmap tables. In Publisher SSO, for non-local environments, we read these values from a creds.json file (/var/www/site-php//creds.json). Well, this is true on Acquia servers. On AWS servers we don't have a method for retrieving that info.

It would be cool if we could create such a file if it doesn't already exist so we can pull this information in a consistent manner.

scottrigby commented 9 years ago

Note this is a JSON-encoded version of /var/www/site-php/{{ item.subscription }}/{{ item.shortname }}-settings.inc (which makes me wonder why Acquia bothers and doesn't just load that php file). Anyway, should be easy for us to add this too.

rabellamy commented 7 years ago

See #194