Compare commits
No commits in common. "234b82b459e46ab1a127e6606b622a214cd88d62" and "47e4976f542297ced8a3ed4baf9ad0b6dae9f76e" have entirely different histories.
234b82b459
...
47e4976f54
|
@ -9,7 +9,7 @@ Homepage: https://forge.cadoles.com/Infra/risotto
|
||||||
Package: python3-risotto
|
Package: python3-risotto
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Pre-Depends: dpkg, python3, ${misc:Pre-Depends}
|
Pre-Depends: dpkg, python3, ${misc:Pre-Depends}
|
||||||
Depends: ${python:Depends}, ${misc:Depends}, python3-asyncpg, python3-rougail, python3-aiohttp
|
Depends: ${python:Depends}, ${misc:Depends}, python3-asyncpg
|
||||||
Description: configuration manager libraries
|
Description: configuration manager libraries
|
||||||
|
|
||||||
Package: risotto
|
Package: risotto
|
||||||
|
|
|
@ -15,7 +15,6 @@ DB_ADDRESS = environ.get('DB_ADDRESS', 'localhost')
|
||||||
MESSAGE_PATH = environ.get('MESSAGE_PATH', '/root/risotto-message/messages')
|
MESSAGE_PATH = environ.get('MESSAGE_PATH', '/root/risotto-message/messages')
|
||||||
SQL_DIR = environ.get('SQL_DIR', './sql')
|
SQL_DIR = environ.get('SQL_DIR', './sql')
|
||||||
CACHE_ROOT_PATH = environ.get('CACHE_ROOT_PATH', '/var/cache/risotto')
|
CACHE_ROOT_PATH = environ.get('CACHE_ROOT_PATH', '/var/cache/risotto')
|
||||||
SRV_SEED_PATH = environ.get('SRV_SEED_PATH', '/srv/seed')
|
|
||||||
|
|
||||||
|
|
||||||
def dsn_factory(database, user, password, address=DB_ADDRESS):
|
def dsn_factory(database, user, password, address=DB_ADDRESS):
|
||||||
|
@ -37,8 +36,7 @@ def get_config():
|
||||||
'admin_user': DEFAULT_USER,
|
'admin_user': DEFAULT_USER,
|
||||||
'sql_dir': SQL_DIR},
|
'sql_dir': SQL_DIR},
|
||||||
'cache': {'root_path': CACHE_ROOT_PATH},
|
'cache': {'root_path': CACHE_ROOT_PATH},
|
||||||
'servermodel': {'internal_source_path': SRV_SEED_PATH,
|
'servermodel': {'internal_source': 'internal',
|
||||||
'internal_source': 'internal',
|
|
||||||
'internal_distribution': 'last',
|
'internal_distribution': 'last',
|
||||||
'internal_release_name': 'none'},
|
'internal_release_name': 'none'},
|
||||||
'submodule': {'allow_insecure_https': False,
|
'submodule': {'allow_insecure_https': False,
|
||||||
|
|
Loading…
Reference in New Issue