Closed
Bug 875054
Opened 12 years ago
Closed 11 years ago
Add alembic config to postgres user account
Categories
(Data & BI Services Team :: DB: MySQL, task, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: selenamarie, Assigned: mpressman)
References
Details
(Whiteboard: [2013q3] September)
Attachments
(1 file)
899 bytes,
text/plain
|
Details |
Add a '.alembic_config' file to the postgres user account.
Updated•12 years ago
|
Whiteboard: [2013q3] July
Updated•12 years ago
|
Priority: -- → P2
Updated•12 years ago
|
Whiteboard: [2013q3] July → [2013q3] September
Assignee | ||
Updated•11 years ago
|
Assignee: server-ops-database → mpressman
Comment 1•11 years ago
|
||
OK, this file has lots of socorro-specific stuff (users, directories, etc) so it should go on socorro servers only.
There are no passwords, so it can go directly into puppet, no need for hiera.
The socorro package has a socorro::db class that is unused, so I am adding in the alembic config to it:
Sheeri-Cabral:socorro scabral$ svn diff | grep Index
Index: files/alembic_config
Index: manifests/db.pp
Sheeri-Cabral:socorro scabral$ svn commit -m "adding alembic_config to socorro db class"
Adding files/alembic_config
Sending manifests/db.pp
Transmitting file data ..
Committed revision 74597.
Comment 2•11 years ago
|
||
Putting this into socorro.pp for tp-socorro01-master01 since it's out of the load balancer right now:
class {
# sudoers::users is now part of socorro::db
'socorro::db':;
}
Comment 3•11 years ago
|
||
Notice: /Stage[main]/Socorro::Db/File[/var/lib/pgsql/.alembic_config]/ensure: defined content as '{md5}3343da7ef397df99f736396aec72f958'
w00t!
OK, I'm going to put this on all the socorro db servers:
tp-socorro-master01 (already done)
tp-socorro-master02
socorro3
socorro-reporting
socorro-bixie-stage
socorro-stage
socorro-dev
And I ran puppet manually on all of them, the only change was the .alembic_config file and removing pgexperts from sudoers, which I did while I was in the file anyway.
Resolving, please check that everything's what you need and either verify or reopen.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Product: mozilla.org → Data & BI Services Team
You need to log in
before you can comment on or make changes to this bug.
Description
•