r/jamf • u/Key_Individual • 23d ago
macOS Upgrade Control
Trying to determine how we setup Blueprints to achieve our Upgrade Lifecycle:
- Block upgrade to Major OS Versions until IT has tested and certified
- Provide initial period when users can initiate an upgrade to certified Major OS Version
Force upgrade to Major OS Versions after the initial period has ended
Allow user to update to Minor OS Versions and non-OS Updates upon release
Force update to Minor OS Versions and non-OS Updates after initial period (different from the period for Majors)
We're having trouble determining where we'd set each of these, specifically the Block portion.
11
Upvotes
1
u/trimeismine 23d ago
You can block updating in config profiles, “restrict updates to admins only” and then use blueprints to install them.
1
u/rougegoat 23d ago
Software Update Settings>Deferralsdeclaration. Note that this maxes out at 90 days.Software Updates>Specific OS Version and Timedeclaration.Software Updates>Latest OS Versiondeclaration. Just make sure to check theIgnore Major Versionsbox.More detailed info can be found in the documentation https://learn.jamf.com/r/en-US/jamf-pro-blueprints-configuration-guide/Software_Update_Management_in_Blueprints
1
u/MacBook_Fan JAMF 400 23d ago
There is no one way to achieve what you are proposing. In fact, with the current state of DDM, some of what you are asking for, while very reasonable, is contradictory.
Let's start with Software Deferrals:
You can use the Software Update settings payload. This would allow you defer major (and minor) updates for a period of time. Note, it is best to have a time period that is pretty static over upgrade cycles instead of tying to modify the Blueprint all the time. So, maybe setup a 30 day major deferral, if you are comfortable with that. However, one caveat. A Major deferral is calculated from the release date of that version and will block more recent patches. For example, If you had a 60 day major deferral setup and your user was still on macOS 26, they would see only see (and install) macOS 27.0 as of today. macOS 27.0.1, which was released two weeks later is still hidden. HOWEVER, once they upgrade, they will still any minor updates that are visible. Unfortunately that makes the user experience somewhat poor, forcing two updates in a row.
I get around this by using creative activations in Blueprints. At the core, I have two separate Software Update payloads in my Blueprints. One is the users regular deferrals, typically 5 days minor, 90 days major. The second is pure 0/0. I then use creative smart grouping with payload activations. I have a group that allows users to upgrade to macOS 27, as I am ready to roll out a group of computers to macOS 27, I just add them to this smart group. DDM takes over and flips the settings from 5/90 to 0/0 and user will now see the latest version of macOS 27.
Now what about forcing update:
The simple solution is to use the Software Updates payload in Blueprints. You can use the "Specific O/S version and time" option to force users to a new O/S by a specific date/time. It is a one time upgrade. I have not used this option, so I can't vouch for the validity.
The other option is the "Latest O/S" option. Every time Apple releases a new update, Jamf will send a new declaration to enforce the update. You can specific how many days the user will be allowed before the update is forced.
However, it has a lot of problems as well. You can not set any delay. Everyone will get the update pushed soon after after releases the update. It also does not respect any existing software deferrals. So if you have a minor deferal and the DDM declaration is pushed, it will override your deferral and start prompting the user immediately. I also find the notification system to be problematic.
At this point, I am still using Nudge to prompt my users for updates. It is a set it and forget it for me. I have builtin delays based on release date and coorindate that with my software deferrals.
1
u/initiali5ed JAMF 400 23d ago
• Block upgrade to Major OS Versions until IT has tested and certified
Software Update Settings: 90 Day Major Software Update Deferral.
• Provide initial period when users can initiate an upgrade to certified Major OS Version
Exclude test Ring from above.
• Force upgrade to Major OS Versions after the initial period has ended
Software Update Payload
• Allow user to update to Minor OS Versions and non-OS Updates upon release
No minor update deferral.
• Force update to Minor OS Versions and non-OS Updates after initial period (different from the period for Majors)
Software Update with Exclude Major.
1
u/AnotherTechAtWork 19d ago
Due to limitations of the current blueprint implementation we went with the following for our environment.
We split up our campus into two groups which is IT and everyone else that is not a lab/classroom/specialized device. Those devices mentioned last are in their own groups to schedule as needed.
IT is configured to install at 3 the following morning of the OS release. Testing begins. That everyone else group is set to 1 week before it enforces the update. If we uncover a reason to stop the deployment, we will do so and not likely affect many if any at all because only a handful update on their own. Almost all are forced that 1 week later starting at 3am if the machine is on and awake.
Ideally we would like a ring system but ideas on how to do that with the current level of blueprints have not worked. Jamf is delivering such a feature but it requires Jamf Routines which is NOT included with our Jamf Pro license. Customers will need Jamf for Mac to get this feature.
Blocking updates is done with deferrals.
Major updates are done by switching the blueprint config to not ignore major versions once we work through the testing.
That should answer all of your questions but if I missed anything, just ask.
Software updates via blueprints are finally getting reasonably reliable. The ring feature not being included for Jamf Pro licenses kinda p*sses us off but it is what it is. It might have gone over better if software updates via blueprints weren't so freaking buggy for so long but then it was easy for them to point at apple and apple to point at them.
1
u/drosse1meyer 17d ago
combination of deferral blueprints scoped to smart groups. how you handle exceptions can be done a number of ways (built into smart group, activation conditions, etc.)
DDM deadlines for forcing updates/upgrades
Test, test, test
1
u/Rossellimac 17d ago
Creo que la clave está en separar la disponibilidad de las actualizaciones de su aplicación obligatoria.
En Blueprints, el componente Software Update Settings permite configurar periodos de aplazamiento distintos para actualizaciones mayores, menores y otras actualizaciones de software. Por otro lado, Software Updates es el que permite establecer la versión de destino y los plazos de aplicación mediante DDM. También tendría cuidado al combinar ambos componentes, porque una declaración de Software Updates puede hacer que la actualización esté disponible inmediatamente, independientemente del periodo de aplazamiento configurado.
Para separar los ciclos de actualización mayor y menor, ¿habéis probado a trabajar con grupos y Blueprints diferentes según el tipo de actualización? Creo que merece la pena revisar cómo se están aplicando las declaraciones en cada grupo.
1
u/Konather 16d ago
Not sure you can achieve everything you say here, but here is my method:
Using the 3 rings update method just like microsoft uses.
with a blueprint scoped to all computers:
Pilot Ring: create a pilot group/smart group containing IT macs or a small group of macs that act as the canary. they get the latest updates but ignore major versions. This is enforced within 1 day of update release.
Middle Ring: a nearby department or power users gets the latest update ignoring major versions enforced within 7 days of release.
Outer Ring: this is everyone else. They get the latest update ignoring major versions enforced within 14 days of release.
There is no need to stop people from updating either major or minor versions if they chose to do so. However, making sure they stay up to date is very important. If you know of a problem, and need to delay an update, scope a defer update configuration to everyone for 90 days. hopefully this is long enough for apple to deploy a patch. This will not stop people from updating manually, so sending a communication in this instance would be necessary and hope noone updates.