Munki 4 Release Candidate 1

https://github.com/munki/munki/releases/tag/v4.0.0RC1

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.

IMPORTANT NOTE:
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

AutoPkg 2020: MacSysAdmin 2019 links

Here are links for references in my MacSysAdmin 2019 presentation, AutoPkg 2020:

Disney Animation

https://www.disneyanimation.com

AutoPkg

AutoPkg videos

Integration and automation

Python 3

More info

AutoPkg 2020: MacSysAdmin 2019 links

PSU MacAdmins Python 3 Convert-a-thon resources

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)

python-modernize

https://python-modernize.readthedocs.io/en/latest/

pylint

https://pylint.readthedocs.io/en/latest/

Install python-modernize and pylint using pip:

pip install modernize
pip install pylint

-or-

Apple Installer pkg containing python-modernize and pylint:

https://www.dropbox.com/s/nxk5uq8b1vg2xij/psumacpytools-1.0.pkg?dl=0

six

https://six.readthedocs.io

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

https://portingguide.readthedocs.io/en/latest/index.html

Cheat Sheet: Writing Python 2-3 compatible code

https://python-future.org/compatible_idioms.html

One case-study

https://medium.com/@boxed/moving-a-large-and-old-codebase-to-python3-33a5a13f8c99

PSU MacAdmins Python 3 Convert-a-thon resources

PSU MacAdmins 2019 Packaging Workshop Course Materials

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):
https://www.dropbox.com/s/lyhv517en1mo8gy/packages.zip?dl=0

Firefox disk image:
https://download.mozilla.org/?product=firefox-latest&os=osx&lang=en-US

Google Chrome disk image:
https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg

Suspicious Package
http://www.mothersruin.com/software/SuspiciousPackage/

Pacifist
https://www.charlessoft.com

WhiteBox Packages:
http://s.sudre.free.fr/Software/files/Packages.dmg

munki-pkg:
https://github.com/munki/munki-pkg/archive/master.zip

Sure, you can also try downloading these items the morning of the workshop, but why tempt the WiFi spirits?

PSU MacAdmins 2019 Packaging Workshop Course Materials

Munki 3.6 is here!

https://github.com/munki/munki/releases/tag/v3.6.0

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.

Munki 3.6 is here!

MacSysAdmin 2018 links

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/

AutoDMG: https://github.com/MagerValp/AutoDMG

Imagr: https://github.com/grahamgilbert/imagr

DeployStudio: http://www.deploystudio.com

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

createbootvolfromautonbi.py: https://github.com/munki/macadmin-scripts/blob/master/createbootvolfromautonbi.py

Bootstrappr: https://github.com/munki/bootstrappr

Installr: https://github.com/munki/installr

Erik Gomez, Custom DEP series: http://blog.eriknicolasgomez.com/2017/03/08/Custom-DEP-Part-1-An-Introduction/
http://blog.eriknicolasgomez.com/2017/03/08/Custom-DEP-Part-2-Creating-a-custom-package-and-deploying-Munki/
http://blog.eriknicolasgomez.com/2017/03/08/Custom-DEP-Part-3-Best-Practices/
http://blog.eriknicolasgomez.com/2017/03/08/Custom-DEP-Part-4-The-Future/
http://blog.eriknicolasgomez.com/2017/04/05/Custom-DEP-Part-5-Dynamic-InstallApplication/
http://blog.eriknicolasgomez.com/2017/04/27/Custom-DEP-Part-6-Vendor-Announcement-and-Presentation/
http://blog.eriknicolasgomez.com/2017/07/27/Custom-DEP-Part-7-Getting-started-with-AirWatch-9.1.3/

Victor Vranchan, “Munkiing around with DEP”: https://groob.io/posts/dep-micromdm-munki/

installinstallmacos.py: https://github.com/munki/macadmin-scripts/blob/master/installinstallmacos.py

Armin Briegel, “macOS Installation for Apple Administrators”: https://scriptingosx.com/macos-installation-for-apple-administrators/

MacSysAdmin 2018 links

Notes on adding support for Dark Mode

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”

Notes on adding support for Dark Mode

PSU MacAdmins 2018 Links

Here are some links from my presentation at the 2018 MacAdmins Conference at Penn State, “Imaging is Dead: Now What?”

Der Flounder, “Imaging will be dead soonish”: https://derflounder.wordpress.com/2017/01/10/imaging-will-be-dead-soon-ish/

AutoDMG: https://github.com/MagerValp/AutoDMG

Imagr: https://github.com/grahamgilbert/imagr

DeployStudio: http://www.deploystudio.com

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, “Restoring an iMac Pro with Configurator”: https://help.apple.com/configurator/mac/2.6/index.html?localePath=en.lproj#/apdebea5be51

Apple, “How to create a bootable installer for macOS”: https://support.apple.com/en-us/HT201372

createbootvolfromautonbi.py: https://github.com/munki/macadmin-scripts/blob/master/createbootvolfromautonbi.py

Bootstrappr: https://github.com/munki/bootstrappr

Erik Gomez, Custom DEP series: http://blog.eriknicolasgomez.com/2017/03/08/Custom-DEP-Part-1-An-Introduction/
http://blog.eriknicolasgomez.com/2017/03/08/Custom-DEP-Part-2-Creating-a-custom-package-and-deploying-Munki/
http://blog.eriknicolasgomez.com/2017/03/08/Custom-DEP-Part-3-Best-Practices/
http://blog.eriknicolasgomez.com/2017/03/08/Custom-DEP-Part-4-The-Future/
http://blog.eriknicolasgomez.com/2017/04/05/Custom-DEP-Part-5-Dynamic-InstallApplication/
http://blog.eriknicolasgomez.com/2017/04/27/Custom-DEP-Part-6-Vendor-Announcement-and-Presentation/
http://blog.eriknicolasgomez.com/2017/07/27/Custom-DEP-Part-7-Getting-started-with-AirWatch-9.1.3/

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/

installinstallmacos.py: https://github.com/munki/macadmin-scripts/blob/master/installinstallmacos.py

PSU MacAdmins 2018 Links

Unwelcome Apple surprise

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”

Unwelcome Apple surprise