return 0
def configure(self):
-
+ # Create all directories needed
+ if params.has_key('dirlist'):
+ dirlist = string.split(params['dirlist'],',')
+ for d in dirlist:
+ gLib.check_dir(d,0777)
+
# Create the GLITE_USER if it doesn't exists
print "Creating/Verifying the GLITE_USER account %s" % params['GLITE_USER']
glib.add_user(params['GLITE_USER'],params['GLITE_USER'])
<!-- MySQL DB -->
<lb.database.name
- description="The mySQL database name to create for storing LB data"
- value="changeme"/>
+ description="The mySQL database name to create for storing LB data
+ Now it must be set to the default value"
+ value="lbserver20"/>
<lb.database.username
- description="The username to be used to access the local mySQL server"
- value="changeme"/>
+ description="The username to be used to access the local mySQL server
+ Now it must be set to the default value"
+ value="lbserver"/>
<!-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -->
<!-- Optimization parameters - Change them if you know what you're doing -->
<GLITE_USER
description="The account used to run the LB daemons"
- value="glite"/>
+ value="gproduct"/>
<!-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -->
<!-- System parameters - You should leave these alone -->
<!-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -->
-
+ <dirlist value='/opt/glite/var'/>
</parameters>
</config>
\ No newline at end of file