Revert Revision dcbfaa74bc, which randomized installs/removals order. This breaks dependencies chains which are baked into the list order.

This commit is contained in:
Justin McWilliams
2013-12-03 11:28:33 -05:00
parent 632c4e2aa0
commit b5006d2345
-3
View File
@@ -23,7 +23,6 @@ munki module to automatically install pkgs, mpkgs, and dmgs
import datetime
import os
import pwd
import random
import subprocess
import time
import stat
@@ -632,7 +631,6 @@ def installWithInfo(
restartflag = False
itemindex = 0
skipped_installs = []
random.shuffle(installlist)
for item in installlist:
# Keep track of when this particular install started.
utc_now = datetime.datetime.utcnow()
@@ -937,7 +935,6 @@ def processRemovals(removallist, only_unattended=False):
restartFlag = False
index = 0
skipped_removals = []
random.shuffle(removallist)
for item in removallist:
if only_unattended:
if not item.get('unattended_uninstall'):