Closed drtaru closed 9 months ago
Thanks, @drtaru.
(Now that we have SYM-Helper, I'm wondering if we can simply delete setupYourMacPolicyArrayIconPrefixUrl
.)
Hey Dan, this would probably be ok, however this would be a š„BREAKING CHANGEš„ for anyone who already has the script configured and their PolicyJSON's set and is just looking to upgrade scripts using comparison tools.
For example, while SYM-Helper is a great tool, I probably personally will never use it due to my familiarity with the script. I'm sure there are others who are in the same position.
Fair points.
(What if in SYM 1.13.0
we used a FQDN for all icon
inside policyJSON
?)
Yes that would be the true fix, Change the example policyJSON to have the FQDN, remote the iconprefix stuff entirely, and note the breaking change in the release notes.
@drtaru:
OK if I close this PR? See: https://github.com/dan-snelson/Setup-Your-Mac/blob/1.13.0/Setup-Your-Mac-via-Dialog.bash#L15-L16
@drtaru: Am I OK to close this PR?
Sorry, GH doesn't always alert me of replies, yes as discussed this can go away now since we are requiring full URLs in the policyJSON
This PR moves the iconHashPrefix portion up in the script from L~900 ish, more readily exposing it to the Admin. It also adds a note reminding the user to make sure the prefix matches their environment.
This should help alleviate the issues that have stemmed from Jamf geolocating icons in different hosting regions.