Set infosssd config value preconfigured as a boolean
authorRob Crittenden <rcritten@redhat.com>
Fri, 8 May 2015 13:44:26 +0000 (09:44 -0400)
committerRob Crittenden <rcritten@redhat.com>
Fri, 8 May 2015 13:44:26 +0000 (09:44 -0400)
It was storing a python boolean which saved as integer 1
but when reading the data the Condition translates text into
a python native value.

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Reviewed-by: Nathan Kinder <nkinder@redhat.com>
ipsilon/info/infosssd.py

index ee5f387..79e850f 100644 (file)
@@ -212,7 +212,7 @@ class Installer(InfoProviderInstaller):
         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