This is a release candidate of Munki 4.0, a major architectural change to the Munki tools.
Munki 4 removes the dependency on Apple’s Python, and includes its own copy of Python 3.7.4.
Functionality is intended to be identical to Munki 3.6.4.
See Introduction to Munki 4 for more information on the architectural changes.
If you use AutoPkg, do not use the munkitools3.munki recipe to import this release, as it will not import the new embedded Python package and any clients upgraded with the results will be broken.
A new munkitools4.munki recipe is available in the AutoPkg recipes repo.
Previous betas for this code base were numbered as 3.7.0 betas.
Here are links for references in my MacSysAdmin 2019 presentation, AutoPkg 2020:
Integration and automation
Here’s a list of resources for the Python 3 Convert-a-thon at PSU MacAdmins 2019:
Python 3 framework
https://www.python.org/downloads/mac-osx/ (generic/stock framework from python.org)
https://www.dropbox.com/s/vjbb8zeqb7w1z2g/Python.framework.zip?dl=0 (relocatable framework with pip, PyObjC, xattr, and six pre-installed)
Install python-modernize and pylint using pip:
pip install modernize
pip install pylint
Apple Installer pkg containing python-modernize and pylint:
six is installed as part of Apple’s Python 2.7 install; if you download the relocatable Python 3 framework from the link above, it also includes (a newer version of) six.
The Conservative Python 3 Porting Guide
Cheat Sheet: Writing Python 2-3 compatible code
If you are participating in my packaging workshop next week at Penn State, please prepare in advance by downloading these items. (Don’t install them, just download them):
Sample packages (new — added July 7):
Firefox disk image:
Google Chrome disk image:
Sure, you can also try downloading these items the morning of the workshop, but why tempt the WiFi spirits?
This is the official release of Munki 3.6, an important new release of the Munki tools.
The primary new feature of Munki 3.6 is new versions of Managed Software Center.app and MunkiStatus.app, rewritten in Swift. These new applications are intended to behave nearly the same as the PyObjC-based applications they replace, with some speed and reliability improvements.
Munki 3.6 will install (and is supported) on macOS 10.10+. Older macOS versions are no longer supported.
Here are some links from my presentation at MacSysAdmin 2018 in Göteborg, Sweden, “Imaging is Dead: What Now?”
Der Flounder, “Imaging will be dead soonish”: https://derflounder.wordpress.com/2017/01/10/imaging-will-be-dead-soon-ish/
Apple, “Upgrade macOS on a Mac at your institution”: https://support.apple.com/en-us/HT208020
Apple, “APFS and Imaging”: https://help.apple.com/deployment/macos/#/apd545ec8b69
Apple, “Restore Apple T2 firmware on iMac Pro”: https://help.apple.com/configurator/mac/2.7.1/#/apdebea5be51
Apple, “Restore Apple T2 firmware on 2018 MacBook Pro”: https://help.apple.com/configurator/mac/2.7.1/#/apd0020c3dc2
Apple, “How to create a bootable installer for macOS”: https://support.apple.com/en-us/HT201372
Erik Gomez, Custom DEP series: http://blog.eriknicolasgomez.com/2017/03/08/Custom-DEP-Part-1-An-Introduction/
Victor Vranchan, “Munkiing around with DEP”: https://groob.io/posts/dep-micromdm-munki/
Armin Briegel, “macOS Installation for Apple Administrators”: https://scriptingosx.com/macos-installation-for-apple-administrators/
This week I added support for macOS Mojave’s new Dark Mode to the GUI apps in Munki: https://github.com/munki/munki/commit/dea412d72e277265bc98dea2b358be5a830739b6
I initially thought adding Dark Mode support would be problematic. Most of the documentation and advice I’d seen seemed to imply that you had to build against the 10.14 SDK to get support for Dark Mode.
Continue reading “Notes on adding support for Dark Mode”
This morning while reviewing new updates on my reposado server I saw this new update:
091-76348 macOS High Sierra 2018-04-10 
I didn’t think much of it; various “Install macOS High Sierra” updates have appeared in the softwareupdate catalogs since early in the High Sierra beta cycle: the App Store, when installing the “Install macOS High Sierra” application, downloads resources from these catalogs. (See https://managingosx.wordpress.com/2017/09/26/some-stuff-about-install-macos-high-sierra-app/ for more info).
But then I saw this cry for help on the munki-discuss list: https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/munki-discuss/I9nA-340mO4/KVQTJMEGCgAJ
Apologies if this has been asked and answered already, but we’re in a desperate time crunch. This morning, on the second day of standardized testing for our district, High Sierra is appearing as a “regular update” instead of an App Store option, so naturally MSC offers it:
It appeared that “macOS High Sierra” was being offered as an Apple software update (which Munki was then offering to install).
Continue reading “Unwelcome Apple surprise”