jamf / Munki-Catalog-Browser

Munki Catalog Browser is an app which allows for easy browsing of items in your devices Munki catalogs as well as exporting to CSV
https://datajar.co.uk
Apache License 2.0
20 stars 1 forks source link

Feature Request: Use with jamJAR? #8

Closed apizz closed 4 years ago

apizz commented 4 years ago

This isn't so much a FR with the app as it currently exists, but using what it does - collecting and listing available software items - for another purpose.

Most of our Helpdesk does not have access to our munki repo and wouldn't inherently know what software is available in a particular catalog or for a particular machine. They can see whether or not there is a Self Service policy that installs the item w/ jamJAR and what that item is named.

We've used some Applescript scripts from Jamfnation to, for example, gather and list all installed Wi-Fi networks in a selection window so that standard users can remove individual ones w/o needing admin rights.

With that in mind, I wondered if there were some way to take the resources that Munki Catalog Browser is already using in some script form such that a Helpdesk user could run a policy from Self Service in order to collect and see all the available software items on a particular computer in a similar selection list. This way, 1 policy could be run to what a machine is eligible to install and then one or more items could be selected to then be added into the local munki manifest to then be installed with jamJAR.

My Python skills are almost non-existent, so I thought I'd throw this out there if it was a need that others might have and would benefit from.

macmule commented 4 years ago

Hi @apizz,

Munki Catalog Browser iterates over the the catalog files found within the ManagedInstallDir (either declared via a profile or the default location).

These catalog files are plists, so you can iterate over & grab as needed via a jamf policy etc.

This is far from this repo's use case.