Added installation and configuration of the security utilities
authorAlberto Di Meglio <alberto.di.meglio@cern.ch>
Mon, 4 Apr 2005 14:42:07 +0000 (14:42 +0000)
committerAlberto Di Meglio <alberto.di.meglio@cern.ch>
Mon, 4 Apr 2005 14:42:07 +0000 (14:42 +0000)
org.glite.deployment.lb/config/scripts/glite-lb-config.py
org.glite.deployment.lb/project/glite-lb.sdf.xml.template

index b2e0196..dc63571 100644 (file)
@@ -209,6 +209,18 @@ python %s-config [OPTION...]""" % (self.name, os.environ['GLITE_LOCATION'], \
         
     def configure(self):
         
+        #--------------------------------------------------------
+        # Installs the Security Utilities
+        #--------------------------------------------------------
+        
+        if os.system("python %s/glite-security-utils-config.py --subservice" % glib.getScriptPath()):
+            print "\nInstalling gLite Security Utilities                   ",
+            glib.printFailedMessage()
+            return 1
+
+        print "\nInstalling gLite Security Utilities                   ",
+        glib.printOkMessage()
+        
         # Create the GLITE_USER if it doesn't exists
         print "\nCreating/Verifying the GLITE_USER account %s" % os.environ['GLITE_USER']
         (uid,gid) = glib.get_user_info(os.environ['GLITE_USER'])
index f1683d4..098c107 100644 (file)
                        </dependencies>
                </service>
 
+               <!-- Security Utilities -->
+        <service name="glite-security-utils">
+                <subservice name="glite-security-utils"/>
+        </service>
                <!-- RGMA servicetool -->
-                <service name="glite-rgma-servicetool">
-                        <subservice name="glite-rgma-servicetool"/>
-                </service>
+        <service name="glite-rgma-servicetool">
+                <subservice name="glite-rgma-servicetool"/>
+        </service>
        </services>
        <dependencies>
-         <!-- glite service tool -->
        </dependencies>
 </node>