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

Allow reading from non-default munki location #6

Closed apizz closed 4 years ago

apizz commented 4 years ago

Because we use Jamf & munki (thanks, jamJAR!), we've opted to put the munki folder in /Library/Application Support/JAMF/Waiting Room. This way, if a machine is removed from Jamf it also removes all the stuff munki needs to get org software, as well as our configs.

It would be helpful to be able to choose a different location other than /Library/Managed Installs within the app so we can utilize this tool. We would also need a prompt for elevated privileges when stored in a location that requires elevated privileges, much like Composer does on launch.

bash-3.2# ls -ld /Library/Application\ Support/JAMF/Waiting\ Room/
drwx------  15 root  wheel  480 Dec  6 11:53 /Library/Application Support/JAMF/Waiting Room/
macmule commented 4 years ago

MCB should account to Managed Installs in differing dirs as per:

https://github.com/dataJAR/Munki-Catalog-Browser/blob/63b0eb079ef7bc9822c14e67c2521856600fa347/Munki%20Catalog%20Browser/ViewController.swift#L34-L38

The issue here, I think, is more about the admin access s per #4

apizz commented 4 years ago

Good to know. Since this is a dup, will close.