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:
Petr Viktorin committed 2014-09-23 12:29:37 +02:00
1 parent 5dfa1116c2
commit 5fef2ecb39
1 file changed
+1 -1
+1 -1
View File
@@ -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):