-
Notifications
You must be signed in to change notification settings - Fork 339
Configuration Profile Emulation
In macOS Big Sur, the profiles
command can no longer be used to install configuration profiles. This removes the ability for Munki to install configuration profiles. You should, as much as is possible, move to using MDM to install and manage your configuration profiles for macOS. But there are some scenarios where it would be useful to have some support for managed preferences in Munki.
Munki 5.2 adds support for "Configuration Profile Emulation". This is a feature that you should avoid using for new deployments -- it was intended to help Munki admins transition from using Munki to install and manage configuration profiles to using MDM to install and manage configuration profiles.
-
Scenario 1: you have configuration profiles that manage preferences for a specific piece of software. You used update_for relationships to cause Munki to install the appropriate configuration profile for Foo when Foo is installed, and to remove the configuration profile for Foo when Foo is removed. Most MDM solutions do not provide a good replacement for this functionality. One option is to just install the configuration profiles on all machines, regardless if the related software is installed or not. But this can cause other issues. If a preference that is managed is related to licensing, you may have now just "licensed" every machine in your org. If you haven't purchased licenses for everyone, that could be a problem. Also, if every machine has the profile installed, it means that manual installs of the software will also have their preferences managed. This may or may not be desired.
-
Scenario 2: Chicken-and-egg -- in our org, user accounts are in LDAP. We configure our machines to use our LDAP server as a directory source. When a user logs into a Mac, a mobile account is created using the LDAP attributes. This means that both the LDAP configuration and the managed preferences that cause mobile accounts to be created must be in place before the first user login. This presents a problem when "bootstrapping" a machine, as enrolling into MDM generally requires logging into a user account. If you don't want to have to create a "throwaway" account, you need to have the right configuration bits in place before the first attempted user login.
To emulate profile installs, configuration profiles are read, and if they contain managed preferences, they are converted to MCX data that is added to a ComputerGroup in the local Open Directory store. Configuration profile payloads that are not managed preferences are ignored/skipped.
The created ComputerGroup name is the profile identifier.
To delete one of these emulated profiles, the ComputerGroup is simply deleted.
Since this feature/implementation is a bit of a hack and not supported by Apple, it is disabled by default, and Munki will not attempt to emulate configuration profiles in Big Sur. To enable this feature, set EmulateProfileSupport to true in Munki's preferences. (To avoid the chicken-and-egg scenario here, that might take the form of using defaults write /Library/Preferences/ManagedInstalls EmulateProfileSupport -bool YES
or otherwise managing /Library/Preferences/ManagedInstalls.plist)
- Getting Started
- Overview
- Discussion Group
- Demonstration Setup
- Glossary
- Frequently Asked Questions
- Contributing to Munki
- Release Notes
- Introduction
- Managed Software Center in Munki 5.2
- Manual Apple Updates
- force_install_after_date for Apple Updates
- Additional update encouragement
- Aggressive update notifications
- AggressiveUpdateNotificationDays preference
- Additional Munki 5 changes
- Configuration profile notes
- Major macOS upgrade notes
- Upgrading to Munki 5
- Introduction
- Munki Links
- Product Icons
- Screenshots In Product Descriptions
- Client Customization
- Custom Help Content
- Featured Items
- Update Notifications:
- Introduction
- iconimporter
- makepkginfo
- munkiimport
- managedsoftwareupdate
- makecatalogs
- manifestutil
- repoclean
- Preferences
- Default Repo Detection
- Default Manifest Resolution
- Managed Preferences Support In Munki
- Apple Software Updates With Munki
- Pkginfo Files
- Supported Pkginfo Keys
- Pre And Postinstall Scripts
- Munki And AutoRemove
- Blocking Applications
- ChoiceChangesXML
- CopyFromDMG
- nopkg items
- How Munki Decides What Needs To Be Installed
- Default Installs
- Removal of Unused Software
- Upgrading macOS:
- Apple Updates:
- Securing the Munki repo
- Preflight And Postflight Scripts
- Report Broken Client
- MSC Logging
- Munki With Git
- Bootstrapping With Munki
- License Seat Tracking
- LaunchD Jobs and Changing When Munki Runs
- Web Request Middleware
- Repo Plugins
- Downgrading Software
- Downgrading Munki tools
- Authorized Restarts
- Allowing Untrusted Packages
- About Munki's Embedded Python
- Customizing Python for Munki
- Configuration Profile Emulation
- PPPC Privacy permissions
- AutoPkg
- Repackaging
- Creating Disk Images
- Stupid Munki Tricks
- Troubleshooting
- Professional Support
- Known Issues and Workarounds
- Building Munki packages
- Munki packages and restarts
- Signing Munki
- Removing Munki
- More Links And Tools
- Munki Configuration Script
- Who's Using Munki
- Munki 3 Information
- Munki 4 Information
- macOS Monterey Info
- Pkginfo For Apple Software Updates
- Managing Configuration Profiles
- Microsoft Office
- Adobe Products
- Upgrading macOS: