
macro setup
 module pantasks.pro
 add.database ippRequestServer
 module pstamp.pro

 # WARNING: don't put quotes around these two words. It will cause it to get passed
 # to pstamptool as one argument
 $PS_DBSERVER= -dbserver ipp049
end

macro add.hosts
    controller host add ipp021 
    controller host add ipp024 
    controller host add ipp026 
    controller host add ipp028 
    controller host add ipp029 
    controller host add ipp030 
    controller host add ipp031 
    controller host add ipp032 
    controller host add ipp033 
    controller host add ipp034 
    controller host add ipp035 
    controller host add ipp036 
    controller host add ipp038
    controller host add ipp039
    controller host add ipp040
    controller host add ipp041
    controller host add ipp042
    controller host add ipp043
    controller host add ipp044
    controller host add ipp045
    controller host add ipp046
    controller host add ipp047
    controller host add ipp048
    controller host add ipp049
    controller host add ipp050
    controller host add ipp051
    controller host add ipp052
    controller host add ipp053
end

macro pstamp.status
    book listbook pstampRequest
    book listbook pstampJob
end

macro find.off
    task pstamp.request.find
        active false
    end
end

macro find.on
    task pstamp.request.find
        active true
    end
end

macro finish.off
    task request.finish.run
        active false
    end
end

macro finish.on
    task request.finish.run
        active true
    end

end

macro bump
    $POLLLIMIT = 100
end

macro list.values
    echo LOADPOLL $LOADPOLL
    echo LOADEXEC $LOADEXEC
    echo POLLIMIT $POLLLIMIT
end

macro setdbserver
    $PS_DBSERVER = -dbserver ipp049
end
