mirror of
https://github.com/munki/munki.git
synced 2026-01-05 14:10:00 -06:00
Ignore force_install_after_date keys for Apple updates in macOS 10.14 and later
This commit is contained in:
@@ -765,9 +765,12 @@ class AppleUpdates(object):
|
||||
metadata_to_copy = ['blocking_applications',
|
||||
'description',
|
||||
'display_name',
|
||||
'force_install_after_date',
|
||||
'unattended_install',
|
||||
'RestartAction']
|
||||
# we support force_install_after_date only on macOS earlier than Mojave
|
||||
os_version_tuple = osutils.getOsVersion(as_tuple=True)
|
||||
if os_version_tuple < (10, 14):
|
||||
metadata_to_copy.append('force_install_after_date')
|
||||
|
||||
# Mapping of supported restart_actions to
|
||||
# equal or greater auxiliary actions
|
||||
|
||||
Reference in New Issue
Block a user