sphen13 / Spruce

Identify unused packages, scripts and policies on a Jamf Pro Server and optionally remove them.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spruce 3

Spruce 3 - Bruce Lee

Spruce is a command line tool that looks for objects on your Jamf Pro server which have no current usage, are out of date, or are otherwise "crufty". It can optionally remove objects from its findings.

Instructions for use

For details on how to use Spruce, please visit our Wiki.

IMPORTANT: Spruce 3 requires python-jss 2.1.0 and python3, with the Foundation module. The simplest way to achieve this is to install AutoPkg 2.0 and JSSImporter 1.1.0, and then run Spruce using the python that is supplied with AutoPkg:

/usr/local/autopkg/python spruce.py -h

Acknowledgements

Huge thanks to Shea Craig, who wrote the bulk of this work and is still providing advice, though not currently involved in Jamf administration.

The world of Mac administration evolves fast, and continued functionality of Spruce and python-jss requires active engagement from the Jamf-using Mac Admin community. If you think you can help and have ideas, please go ahead and file issues and pull requests, or contact us in the MacAdmins Slack #jss-importer channel.

License

See the LICENSE file.

About

Identify unused packages, scripts and policies on a Jamf Pro Server and optionally remove them.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%