Munki 5.1.2 Official Release

This is the official release of Munki 5.1.2: an update to the Munki tools.
There are two changes in this release from version 5.1.1: 

• Code signing has been removed from files in the embedded Python framework; the existing code signing was broken because of the process making the framework relocatable. 

• When importing a Big Sur installer, the pkginfo will reflect the 35.5GB required space for upgrading from macOS Sierra or later. (See

The main focus for the Munki 5.1.x releases is compatibility with macOS Big Sur, but there are other changes.

See release notes for Munki 5.1 ( and 5.1.1 ( for more details on those changes.

See for information on the changes in Munki 5.

Munki 5.1.2 Official Release

This One Goes to 11: macOS version comparisons and Munki

In my Wednesday session for MacSysAdmin 2020 Online – “This One Goes to 11” – ( I talk about the implications of macOS Big Sur’s version numbering.

I didn’t talk in too much detail about how that might affect Munki admins specifically, and I’ll remedy that here.

Continue reading “This One Goes to 11: macOS version comparisons and Munki”
This One Goes to 11: macOS version comparisons and Munki

MacSysAdmin 2020 update: This One Goes to 11

In my Wednesday session for MacSysAdmin 2020 Online, I talk a bit about the dual-versioning of macOS Big Sur. Since the talk was recorded and submitted a few weeks ago, some things have changed!

When I recorded the presentation, Big Sur was on beta 6. In that version of Big Sur, the platform module in the bundled Python reported Big Sur’s version as 11.0:

# sw_vers
ProductName:	macOS
ProductVersion:	11.0
BuildVersion:	20A5364e
# /usr/bin/python

WARNING: Python 2.7 is not recommended. 
This version is included in macOS for compatibility with legacy software. 
Future versions of macOS will not include Python 2.7. 
Instead, it is recommended that you transition to using 'python3' from within Terminal.

Python 2.7.16 (default, Aug 24 2020, 12:22:49) 
[GCC Apple LLVM 12.0.0 (clang-1200.0.30.1) [+internal-os, ptrauth-isa=sign+stri on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import platform
>>> platform.mac_ver()
('11.0', ('', '', ''), 'x86_64')

In Big Sur beta 9, that behavior changed:

Continue reading “MacSysAdmin 2020 update: This One Goes to 11”
MacSysAdmin 2020 update: This One Goes to 11

Python 3 conversion resources

Here’s a list of resources for Mac admins converting their scripts from Python 2 to Python 3.

Python 3 framework (generic/stock framework from
(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

One case-study

Python 3 conversion resources

Munki 4 Release Candidate 1

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.

Munki 4 Release Candidate 1