INFO:root:Reinstalling Munki client....
INFO:root:Fetching repair client from: https://xxx.appspot.com/repair
Traceback (most recent call last):
File "/usr/local/munki/simian_client.py", line 87, in <module>
sys.exit(main(sys.argv[1:]))
File "/usr/local/munki/simian_client.py", line 73, in main
preflight.RunPreflight(runtype, server_url=server_url)
File "/usr/local/munki/simian/lib/python2.7/site-packages/simian-2.5-py2.7.egg/simian/mac/client/preflight.py", line 393, in RunPreflight
flight_common.RepairClient()
File "/usr/local/munki/simian/lib/python2.7/site-packages/simian-2.5-py2.7.egg/simian/mac/client/flight_common.py", line 910, in RepairClient
updatecheck.getResourceIfChangedAtomically('%s/repair' % url, download_path)
AttributeError: 'module' object has no attribute 'getResourceIfChangedAtomically'
diff --git a/src/simian/mac/client/flight_common.py b/src/simian/mac/client/flight_common.py
index d21f810..9690731 100755
--- a/src/simian/mac/client/flight_common.py
+++ b/src/simian/mac/client/flight_common.py
@@ -907,7 +907,7 @@ def RepairClient():
DownloadError = fetch.DownloadError
try:
- updatecheck.getResourceIfChangedAtomically('%s/repair' % url, download_path)
+ fetch.getResourceIfChangedAtomically('%s/repair' % url, download_path)
except DownloadError as e:
raise RepairClientError(
u'MunkiDownloadError getting Munki client: %s' % e)
~