-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configuration Profile Updates Cause Duplicates on Devices #539
Comments
Performed a few more tests and found that on initial creation of the profile via Terraform, the When I ran a plan step following the upload, the provider returns What seems to happen after this point is that after any changes are made to the resource via TF, the provider then picks up the new keys, but also that the After this point, the Unsure if this is something to do with the initial upload of the profile, or more likely, some weird Jamf behaviour where it will set its own identifier on initial creation of the profile when it's a brand new resource. |
https://grahamrpugh.com/2020/04/27/managing-profiles-between-multiple-jamf-instances.html FFS. Seems this is expected behaviour of the Jamf API |
Knowing that Jamf will overwrite UUID/Identifier on the initial Post, could there be any way in the provider to do the following only on creation of a new profile:
|
Hi @smithjw Perhaps I don't understand correctly your approach, but unscoping / rescoping the profile will uninstall and reinstall it on computers. IMHO this is not good if you consider the following examples:
Regards, |
Please see release v0.9.1, the fix in this release will now during config profile updates gets existing payloadUUID's for created plist resources from jamf pro. These are then injected into update requests. Diff suppression remains unchanged. From my testing, updates now preserve the jamfpro generated payloadUUID's within the config profile server side. Please test and let me know how you get on. |
It seems there's an issue again that causes duplicate profiles to be pushed to devices when an update is made to one of the keys within the profile. I'm not sure why but the provider is picking up a change with the UUID + Identifier of the profile, pushing the changed profile up to Jamf, then a second version is being deployed to a device.
With this duplicate profile on a device, there are now conflicting keys which interfere with desired behaviour.
The text was updated successfully, but these errors were encountered: