Revision b8b9b18f
Added by Frédéric Péters over 11 years ago
wcsinst/wcsinstd/deploy.py | ||
---|---|---|
120 | 120 |
params = [] |
121 | 121 |
for param in ('dbname', 'user', 'password', 'host', 'port'): |
122 | 122 |
if wcs_cfg.get('postgresql').get(param): |
123 |
params.append(param) |
|
123 |
params.append('--' + param)
|
|
124 | 124 |
params.append(wcs_cfg.get('postgresql').get(param)) |
125 |
os.system('%s convertsql %s %s' % (app_settings.WCSCTL_SCRIPT, ' '.join(params), self.domain)) |
|
125 |
os.system('%s convert-to-sql %s %s' % (app_settings.WCSCTL_SCRIPT, ' '.join(params), self.domain))
|
|
126 | 126 |
|
127 | 127 |
def make_sso_config(self, wcs_cfg): |
128 | 128 |
has_idff = False |
Also available in: Unified diff
wcsinst: fix wcsctl call