Trees | Indices | Help |
|
---|
|
1 #----------------------------------------------------------------------- 2 # XALT: A tool to track the programs on a cluster. 3 # Copyright (C) 2013-2014 University of Texas at Austin 4 # Copyright (C) 2013-2014 University of Tennessee 5 # 6 # This library is free software; you can redistribute it and/or modify 7 # it under the terms of the GNU Lesser General Public License as 8 # published by the Free Software Foundation; either version 2.1 of 9 # the License, or (at your option) any later version. 10 # 11 # This library is distributed in the hope that it will be useful, 12 # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 # Lesser General Public License for more details. 15 # 16 # You should have received a copy of the GNU Lesser General Public 17 # License along with this library; if not, write to the Free 18 # Software Foundation, Inc., 59 Temple Place, Suite 330, 19 # Boston, MA 02111-1307 USA 20 #----------------------------------------------------------------------- 21 22 import os 23 from xalt_stack import Stack 24 25 #------------------------------------------------------------------------ 26 # XALT_Stack: Instance of a simple stack class that contains useful 27 # data when there is an exception 28 #------------------------------------------------------------------------ 29 30 XALT_Stack = Stack() 31 32 #------------------------------------------------------------------------ 33 # XALT_TRANSMISSION_STYLE: Controls where the json data is sent: 34 # "file" : writes a file ~/.xalt.d 35 # "syslog" : writes data to syslog 36 # "directdb" : Calls db directly 37 #------------------------------------------------------------------------ 38 39 XALT_TRANSMISSION_STYLE = os.environ.get("XALT_TRANSMISSION_STYLE","@transmission@") 40 41 #------------------------------------------------------------------------ 42 # XALT_ETC_DIR: Controls where the xalt_db.conf and the Reverse Map 43 # Directory can be found. 44 #------------------------------------------------------------------------ 45 46 XALT_ETC_DIR = os.environ.get("XALT_ETC_DIR","@etc_dir@") 47
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Sep 20 12:25:05 2014 | http://epydoc.sourceforge.net |