If krb is explicitly 'no' do not check for ipa
authorSimo Sorce <simo@redhat.com>
Tue, 27 May 2014 19:28:30 +0000 (15:28 -0400)
committerSimo Sorce <simo@redhat.com>
Thu, 29 May 2014 13:49:14 +0000 (09:49 -0400)
Signed-off-by: Simo Sorce <simo@redhat.com>
ipsilon/helpers/ipa.py

index 722b404..54d5199 100755 (executable)
@@ -168,6 +168,8 @@ class Installer(object):
     def configure_server(self, opts):
         if opts['ipa'] != 'yes' and opts['ipa'] != 'auto':
             return
+        if opts['ipa'] != 'yes' and opts['krb'] == 'no':
+            return
 
         self.logger = logging.getLogger()