Implement change registration
[cascardo/ipsilon.git] / ipsilon / info / infosssd.py
index ee5f387..54d0ba2 100644 (file)
@@ -1,6 +1,4 @@
-# Copyright (C) 2014 Ipsilon Project Contributors
-#
-# See the file named COPYING for the project license
+# Copyright (C) 2014 Ipsilon project Contributors, for license see COPYING
 
 # Info plugin for mod_lookup_identity Apache module via SSSD
 # http://www.adelton.com/apache/mod_lookup_identity/
 
 # Info plugin for mod_lookup_identity Apache module via SSSD
 # http://www.adelton.com/apache/mod_lookup_identity/
@@ -133,7 +131,7 @@ class Installer(InfoProviderInstaller):
                            help='SSSD domain to enable mod_lookup_identity'
                                 ' for')
 
                            help='SSSD domain to enable mod_lookup_identity'
                                 ' for')
 
-    def configure(self, opts):
+    def configure(self, opts, changes):
         if opts['info_sssd'] != 'yes':
             return
 
         if opts['info_sssd'] != 'yes':
             return
 
@@ -212,7 +210,7 @@ class Installer(InfoProviderInstaller):
         po.name = 'sssd'
         po.wipe_data()
         po.wipe_config_values()
         po.name = 'sssd'
         po.wipe_data()
         po.wipe_config_values()
-        config = {'preconfigured': True}
+        config = {'preconfigured': 'True'}
         po.save_plugin_config(config)
 
         # Update global config to add info plugin
         po.save_plugin_config(config)
 
         # Update global config to add info plugin