mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ipa_restore: Split the services list
Make a proper list from the comma-separated string found in
the config.
The only current use of backup_services is in run:
if 'CA' in self.backup_services:
Without this change, this picked up the 'CA' from 'MEMCACHE'.
Reviewed-By: Tomas Babej <tbabej@redhat.com>
This commit is contained in:
@@ -538,7 +538,7 @@ class Restore(admintool.AdminTool):
|
||||
self.backup_host = config.get('ipa', 'host')
|
||||
self.backup_ipa_version = config.get('ipa', 'ipa_version')
|
||||
self.backup_version = config.get('ipa', 'version')
|
||||
self.backup_services = config.get('ipa', 'services')
|
||||
self.backup_services = config.get('ipa', 'services').split(',')
|
||||
|
||||
|
||||
def extract_backup(self, keyring=None):
|
||||
|
||||
Reference in New Issue
Block a user