Changeset 32877 for trunk/ippdor/deployment/deploy.py
- Timestamp:
- Dec 7, 2011, 10:27:07 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippdor/deployment/deploy.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdor/deployment/deploy.py
r32874 r32877 4 4 Utility executable for IPP Condor deployment 5 5 """ 6 def hostname(): 7 """ 8 Get the host name 9 >>> print hostname() 10 neverland 11 """ 12 return socket.gethostbyaddr(socket.gethostname())[0].split('.')[0] 6 13 7 14 # Default values … … 10 17 This class contains all default values for the IPP Condor deployment 11 18 """ 12 svnSourceUrl = 'file:///home/schastel/svnrepo/ippdor/trunk/src' 13 targetDirectory = '/home/schastel/local/share/python/ipp' 14 targetBinaryDirectory = '/home/schastel/local/bin' 19 if hostname().startswith('ipp'): # Production cluster 20 svnSourceUrl = 'https://svn.pan-starrs.ifa.hawaii.edu/repo/ipp/trunk/ippdor' 21 targetDirectory = '/home/panstarrs/ippdor/local/share/python/ipp' 22 targetBinaryDirectory = '/home/panstarrs/ippdor/local/bin' 23 else: 24 svnSourceUrl = 'file:///home/schastel/svnrepo/ippdor/trunk/src' 25 targetDirectory = '/home/schastel/local/share/python/ipp' 26 targetBinaryDirectory = '/home/schastel/local/bin' 15 27 16 28 def __init__(self):
Note:
See TracChangeset
for help on using the changeset viewer.
