12
12
13
13
from reporting .reporting_utils import step
14
14
15
- from arangodb .hot_backup_cfg import (
16
- HotBackupCliCfg ,
17
- HotBackupProviderCfg ,
18
- HotBackupMode ,
19
- HB_PROVIDERS
20
- )
15
+ from arangodb .hot_backup_cfg import HotBackupCliCfg , HotBackupProviderCfg , HotBackupMode , HB_PROVIDERS
21
16
22
17
IS_WINDOWS = platform .win32_ver ()[0 ] != ""
23
18
IS_MAC = platform .mac_ver ()[0 ] != ""
24
19
SYSTEM = platform .system ()
25
20
DISTRO = ""
26
21
22
+
27
23
@dataclass
28
24
class InstallerBaseConfig (OptionGroup ):
29
25
"""commandline argument config settings"""
@@ -45,6 +41,7 @@ class InstallerBaseConfig(OptionGroup):
45
41
checkdata : bool
46
42
is_instrumented : bool
47
43
44
+
48
45
class InstallerFrontend :
49
46
# pylint: disable=too-few-public-methods
50
47
"""class describing frontend instances"""
@@ -83,7 +80,7 @@ def __init__(
83
80
self .supports_rolling_upgrade = not IS_WINDOWS
84
81
self .verbose = bc .verbose
85
82
self .package_dir = bc .package_dir
86
- self .have_system_service = False # TODO: re-enable not self.zip_package and self.src_testing
83
+ self .have_system_service = False # TODO: re-enable not self.zip_package and self.src_testing
87
84
self .debug_package_is_installed = False
88
85
self .client_package_is_installed = False
89
86
self .server_package_is_installed = False
@@ -387,9 +384,9 @@ def __init__(
387
384
self .cluster_nodes = cluster_nodes
388
385
389
386
def set_kwargs (self , kwargs ):
390
- """ pick values from the commandline arguments that should override defaults"""
391
- self .use_auto_certs = kwargs [' use_auto_certs' ]
392
- self .cluster_nodes = kwargs [' cluster_nodes' ]
387
+ """pick values from the commandline arguments that should override defaults"""
388
+ self .use_auto_certs = kwargs [" use_auto_certs" ]
389
+ self .cluster_nodes = kwargs [" cluster_nodes" ]
393
390
394
391
def __repr__ (self ):
395
392
return """{0.__class__.__name__}
@@ -440,7 +437,7 @@ def create_config_installer_set(
440
437
run_properties .ssl ,
441
438
run_properties .force_one_shard ,
442
439
run_properties .use_auto_certs ,
443
- base_config .arangods
440
+ base_config .arangods ,
444
441
)
445
442
installer = make_installer (install_config )
446
443
installer .calculate_package_names ()
0 commit comments