Changeset 1025
- Timestamp:
- 09/01/06 12:15:29 (7 years ago)
- File:
-
- 1 edited
-
ccsd/trunk/crcnetd/_utils/ccsd_cfengine.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ccsd/trunk/crcnetd/_utils/ccsd_cfengine.py
r1024 r1025 1007 1007 def getCfRunLogs(session_id): 1008 1008 """Returns the output of the last cfrun execution for all active hosts""" 1009 from crcnetd.modules.ccs_host import getHostList 1010 from crcnetd.modules.ccs_status import getHostStatus 1009 from crcnetd.modules.ccs_host import getHostList, getHostID 1010 from crcnetd.modules.ccs_status import getHostStatus, ccs_status_error, \ 1011 ccs_host_status 1011 1012 global _cfBaseDir, _cfrunStatus 1012 1013 … … 1035 1036 except ccs_status_error: 1036 1037 # Create a blank status entry 1037 host_id = hostname =getHostID(ADMIN_SESSION_ID, hostname)1038 host_id = getHostID(ADMIN_SESSION_ID, hostname) 1038 1039 hostStatus = ccs_host_status(ADMIN_SESSION_ID, host_id) 1039 1040 hosts[hostname]["active_rev"] = hostStatus.activeRevision
Note: See TracChangeset
for help on using the changeset viewer.
