Posted on 01-23-2019 10:31 AM
I've had policy per this article below and it has been working for about a year. Just a week ago, it stopped working. We didn't change anything on the jamf or packaging side.
https://www.jamf.com/jamf-nation/discussions/18832/how-to-package-mobileconfig
I rechecked my package in Composer as such. The mobile config is nested in /tmp and the permission is 755. I redeployed the package and it indicates it installs without errors but I suspect it's not doing the postinstall properly.
I even went so far as granting the .mobileconfig file 777 without success. Any help would be appreciated.
Postinstall script:
pathToScript=$0
pathToPackage=$1
targetLocation=$2
targetVolume=$3
sudo /usr/bin/profiles -I -F /private/tmp/sm.mobileconfig
rm -rf /private/tmp/sm.mobileconfig
exit 0 ## Success
exit 1 ## Failure