diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-10-04 19:04:21 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-10-04 19:04:21 +0000 |
commit | f752a90d7caa1d43593bab022232ce9ae848c900 (patch) | |
tree | d4839834edf7fa774e8690c6a4bd0c9739bdfa12 | |
parent | 509b8b6f5b292dc2917d17761801939818e119cc (diff) | |
download | mgarepo-f752a90d7caa1d43593bab022232ce9ae848c900.tar mgarepo-f752a90d7caa1d43593bab022232ce9ae848c900.tar.gz mgarepo-f752a90d7caa1d43593bab022232ce9ae848c900.tar.bz2 mgarepo-f752a90d7caa1d43593bab022232ce9ae848c900.tar.xz mgarepo-f752a90d7caa1d43593bab022232ce9ae848c900.zip |
add config options for maintdb
-rw-r--r-- | MgaRepo/commands/maintdb.py | 2 | ||||
-rw-r--r-- | mgarepo.conf | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/MgaRepo/commands/maintdb.py b/MgaRepo/commands/maintdb.py index 1e5ad80..08bf723 100644 --- a/MgaRepo/commands/maintdb.py +++ b/MgaRepo/commands/maintdb.py @@ -31,7 +31,7 @@ def parse_options(): return opts def maintdb(maintdb_args): - host = config.get("submit", "host") + host = config.get("maintdb", "host", "maintdb.mageia.org") maintdb_helper = get_helper("maintdb") cmd_args = ' '.join(maintdb_args) command = "ssh %s %s %s" % (host, maintdb_helper, cmd_args) diff --git a/mgarepo.conf b/mgarepo.conf index 325c7db..fe93317 100644 --- a/mgarepo.conf +++ b/mgarepo.conf @@ -23,3 +23,7 @@ default = Cauldron download_url = http://binrepo.mageia.org/ upload_host = binrepo.mageia.org +[maintdb] +host = maintdb.mageia.org +url = http://maintdb.mageia.org/ + |