#
# Copyright (c) 2005-2006 rPath, Inc.
#
# All rights reserved
#

from conary.conarycfg import ConfigFile
from conary.lib import cfgtypes

class CheckJobsConfig(ConfigFile):
    # Stores the timestamp of the last check
    timeStampFile             = (cfgtypes.CfgString, '/srv/rbuilder/nagios/check-jobs.timestamp')
    iterationFile	      = (cfgtypes.CfgString, '/srv/rbuilder/nagios/check-jobs.iteration')
    # Maximum time a job is allowed to run, in seconds
    maxJobTime                = (cfgtypes.CfgInt, 21600)
    jsPath                    = (cfgtypes.CfgString, '/srv/rbuilder/jobserver/')
    jsConfig                  = (cfgtypes.CfgString, 'srv/rbuilder/iso_gen.conf')
    filterExp                 = (cfgtypes.CfgList(cfgtypes.CfgString))
    retries                   = (cfgtypes.CfgInt, 5)

#
# Copyright (c) 2005-2006 rPath, Inc.
#
# All rights reserved
#

from conary.conarycfg import ConfigFile
from conary.lib import cfgtypes

class CheckJobsConfig(ConfigFile):
    # Stores the timestamp of the last check
    timeStampFile             = (cfgtypes.CfgString, '/srv/rbuilder/nagios/check-jobs.timestamp')
    iterationFile	      = (cfgtypes.CfgString, '/srv/rbuilder/nagios/check-jobs.iteration')
    # Maximum time a job is allowed to run, in seconds
    maxJobTime                = (cfgtypes.CfgInt, 21600)
    jsPath                    = (cfgtypes.CfgString, '/srv/rbuilder/jobserver/')
    jsConfig                  = (cfgtypes.CfgList(cfgtypes.CfgString))
    filterExp                 = (cfgtypes.CfgList(cfgtypes.CfgString))
    retries                   = (cfgtypes.CfgInt, 5)

make jsConfig a list of strings