This is something I’ve seen crop up in Slack a few times recently so I thought I’d write something up! When you upload packages, is there a built-in method to grab a copy of those installers out of a Jamf Cloud Distribution Point (JCDP)?
Grabbing those Packages
With a traditional File Share Distribution Point (FSDP) you could simply mount the File Share, or go via the host server OS and grab whatever packages you require.
Currently, there is no official method for re-grabbing packages you upload to a JCDP (at least not yet?). An ongoing suggestion would be to ensure you keep a copy of packages you upload to a JCDP somewhere locally. But that’s not gonna help you if you’ve already got stuff already uploaded.
1) Grab a Mac or a VM you have enrolled in your Jamf Instance
2) Create a new policy, and add this device to the scope
3) Using the “Package” section, add the package you need a copy of.
4) Ensure to select “Cache” from the “Action” drop down menu
5) Run the policy on your Mac from step 1. This can be via a Self Service policy, recurring check in trigger or a manual trigger
6) Once the policy has run (successfully!), open up Terminal on the Mac. Switch to root / sudo.
7) Use the cd command to navigate to /Library/Application Support/JAMF/Waiting Room/
cd /Library/Application\ Support/JAMF/Waiting\ Room/
8) If you run an ls command here, you should see your package cached locally
9) Use the cp command to copy the installer package to your desktop folder
cp ./[package name] /Users/[username]/Desktop/
10) Change the permissions on the package to make it usable
chmod -R [username] /Users/[username]/Desktop/[package name]
11) There you go, the package should be on your desktop, ready for use elsewhere.
12) Delete the policy you create in step 2
13) Repeat the steps above for each package you need.
Feature Request Time!
Ok I’ll admit, this is rather long. If you agree, check out this Feature Request and get upvoting!
This post covered how to grab packages back out of your Jamf Cloud Distribution Point. As always, if you have any questions, queries or comments, let me know below (or @daz_wallace on Mac Admins Slack) and I’ll try to respond to and delve into as many as I can.
The usual Disclaimer:
While the author has taken care to provide our readers with accurate information, please use your discretion before acting upon information based on the blog post. I will not compensate you in any way whatsoever if you ever happen to suffer a loss/inconvenience/damage because of/while making use of information in this blog.