Open lukeheath opened 3 months ago
fyi @mikermcneil @spokanemac @noahtalerman
Heads up @lukeheath, just calling your attention to this, I think we chatted about a similar approach in a separate issue here: https://github.com/fleetdm/fleet/issues/19140#issuecomment-2122686299
@lukeheath A few clarifications on this:
@spokanemac Thanks for the clarifications, I've added to the issue description. It sounds like this biggest change in our workflow is it would put some restrictions on rescheduling the event:
Is that correct?
- You cannot move to a time within 2 hours.
Cannot add a new profile to a time within 2 hours (to allow time for pre-staging the install, etc.)
- You cannot move it at all within 1 hour.
Correct.
Sonoma 14.7 and Sequoia 15 are out. When 15.1 is released, we'll want to enforce it for those upgraded to 15. We can only enforce 14.7 with the current configuration and hope those on 15 run updates. fleetdm/confidential#8050
Hey @lukeheath I pulled this request off of feature fest b/c it doesn't meet the criteria for prioritization: https://github.com/fleetdm/fleet/pull/23184/files#diff-c99d12c3af50c0c2aca2b9ef7597c02ccfe87678291956ff0b2e83d63978ea38R370
Problem
We are unable to consistently trigger macOS updates across a group of hosts during scheduled maintenance.
What have you tried?
Sending an MDM command to schedule an OS update to the host at the time of scheduled maintenance with
InstallASAP
set. It works on a subset of hosts, but it is not consistently respected across all macOS versions and configurations currently enrolled in dogfood.Apple is in the process of moving away from MDM commands in favor of declarative configuration (DDM).
Potential solutions
Instead of using an MDM command, we could deliver a new declarative configuration with the
TargetLocalDateTime
property set to one minute in the future.What is the expected workflow as a result of your proposal?
At the time of scheduled maintenance, we send the following declarative configuration to the host:
This would trigger the more consistent DDM OS update flow at the time of scheduled maintenance on a per-host basis, which should unlock our OS update scheduled maintenance workflow.
More info