Kirill Solomko
232a15a794
fixed a grammar error in the log output
13 years ago
Kirill Solomko
b230ce5ce9
added passwords syncronization with MySQL after everything has done
13 years ago
Michael Prokop
05265224f3
Fix script order execution for scripts with >4 digits
...
So we had the 9999->10000 switch in our svn now.
Scripts >=10000 need to be executed after <=9999.
This code has never happend. Nothing to see here, move along… ٩(͡๏̯͡๏)۶
From: Michael Prokop <mprokop@sipwise.com>
13 years ago
Michael Prokop
d1dfd749ae
Error out if a sript can not be read
...
Never happened so far but better safe than sorry...
From: Michael Prokop <mprokop@sipwise.com>
13 years ago
Michael Prokop
7c7d707675
Make code less ugly
...
From: Michael Prokop <mprokop@sipwise.com>
13 years ago
Michael Prokop
4f39eeb35d
Drop grant specific code
...
The way it is now won't provide any benefit, so let's just drop it.
Let's see how we can resolve this issue in the installer...
Thanks for review + comments, Andrew
From: Michael Prokop <mprokop@sipwise.com>
13 years ago
Michael Prokop
853870d974
Execute GRANT statement as sipwise user
...
From: Michael Prokop <mprokop@sipwise.com>
13 years ago
Michael Prokop
d023c6fb2e
Fix VERBOSE usage (and while at it slightly rework it)
...
From: Michael Prokop <mprokop@sipwise.com>
13 years ago
Andrew Pogrebennyk
2ce1e82627
be even more specific
13 years ago
Michael Prokop
d41d6276a9
Send error message to stderr
...
From: Michael Prokop <mprokop@sipwise.com>
13 years ago
Michael Prokop
07943bac63
ngcp-update-db-schema: test for "localhost" hostname and fall back to hostname(1)
...
From: Michael Prokop <mprokop@sipwise.com>
13 years ago
Andrew Pogrebennyk
a6ff560d8a
logging improvements, be not so verbose by default
13 years ago
Andrew Pogrebennyk
b6d98c7999
reword printable messages to avoid confusion WRT applied/registered rev
...
- hope Mika doesn't mind this ;-)
13 years ago
Andrew Pogrebennyk
5a640fac05
attempt to fix CE deployment (as in "nothing to do on active node")
13 years ago
Michael Prokop
3d94a0e561
Implement logic for executing *_not_replicated.up scripts on all nodes
...
Needs review
From: Michael Prokop <mprokop@sipwise.com>
13 years ago
Michael Prokop
add8bac059
ngcp-update-db-schema: prompt for confirmation if db_schema is empty
...
See https://bugtracker.sipwise.com/view.php?id=1071
From: Michael Prokop <mprokop@sipwise.com>
13 years ago
Michael Prokop
644c0da5d1
ngcp-update-db-schema: reversing logic of ngcp-check_active check
...
Thanks, Andrew
From: Michael Prokop <mprokop@sipwise.com>
13 years ago
Michael Prokop
9588b03594
Prefer /etc/hostname output over hostname(1)
...
We don't want to have the hostname of the deployment system
(being 'grml') when initially setting up db_schema. So let's see
whether using /etc/hostname can solve it...
From: Michael Prokop <mprokop@sipwise.com>
13 years ago
Michael Prokop
b03f266aeb
Set grants for user sipwise before running scripts
...
Otherwise we don't seem to be able to bootstrap the installation.
Needs review.
From: Michael Prokop <mprokop@sipwise.com>
13 years ago
Michael Prokop
f431302764
ngcp-update-db-schema: switch to CWD of script before execution
...
From: Michael Prokop <mprokop@sipwise.com>
13 years ago
Michael Prokop
95d095bde4
Adjust path for initial mysql script to set up ngcp db
...
From: Michael Prokop <mprokop@sipwise.com>
13 years ago
Michael Prokop
30ceca8ca7
Initial db-schema package
...
This is broken as hell. You've been warned.
From: Michael Prokop <mprokop@sipwise.com>
13 years ago