Recipes for adding autopkg software to the JSS using JSSImporter.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
Adium.jss.recipe
Adium.png
AdobeDNGConverter.jss.recipe
AdobeDNGConverter.png
AdobeFlashPlayer.jss.recipe
AdobeFlashPlayer.png
AdobeFlashPlayerExtensionAttribute.xml
AdobeFlashSmartGroupTemplate.xml
AdobeReader.jss.recipe
AdobeReader.png
AirServer.jss.recipe
AirServer.png
Atom.jss.recipe
Atom.png
AutoDMG.jss.recipe
AutoDMG.png
Blender.jss.recipe
Blender.png
Caffeine.jss.recipe
Caffeine.png
CitrixReceiver.jss.recipe
CitrixReceiver.png
ClamXav.jss.recipe
ClamXav.png
ComicLife3.jss.recipe
ComicLife3.png
Compressor.jss.recipe
Compressor.png
Cyberduck.jss.recipe
Cyberduck.png
Divvy.jss.recipe
Divvy.png
Dropbox.jss.recipe
Dropbox.png
Eclipse.png
EclipseLuna.jss.recipe
EclipseLunaPreinstall.sh
EclipseScriptTemplate.xml
Evernote.jss.recipe
Evernote.png
FinalCutPro.jss.recipe
FinalCutPro.png
Firefox.jss.recipe
Firefox.png
GSP5.jss.recipe
GSP5.png
GarageBand.jss.recipe
GarageBand.png
Geogebra.jss.recipe
Geogebra.png
GeogebraPreinstall.sh
GeogebraScriptTemplate.xml
GitHub.jss.recipe
GitHub.png
GitHubExtensionAttribute.xml
GitHubSmartGroupTemplate.xml
GoogleChrome.jss.recipe
GoogleChrome.png
GoogleEarth.jss.recipe
GoogleEarth.png
GoogleEarthPro.jss.recipe
GoogleEarthPro.png
Greenfoot.jss.recipe
Greenfoot.png
Handbrake.jss.recipe
Handbrake.png
HipChat.jss.recipe
HipChat.png
Jin.jss.recipe
Jin.png
Keynote.jss.recipe
Keynote.png
Kindle.jss.recipe
Kindle.png
LogicProX.jss.recipe
LogicProX.png
MSOffice.png
MSOffice2011ExtensionAttribute.xml
MSOffice2011Updates-DisabledAllQuit.jss.recipe
MSOffice2011Updates.jss.recipe
MSOffice2011UpdatesREADME.txt
MSOffice2011UpdatesSmartGroupTemplate.xml
MSOffice2011Versioner.py
MainStage3.jss.recipe
MainStage3.png
MicrosoftOneNote.jss.recipe
MicrosoftOneNote.png
MicrosoftRemoteDesktop.jss.recipe
MicrosoftRemoteDesktop.png
MinecraftEdu.jss.recipe
MinecraftEdu.png
Motion.jss.recipe
Motion.png
NavicatEssentials.png
NavicatEssentialsForMySQL.jss.recipe
NetHack.jss.recipe
NetHack.png
Numbers.jss.recipe
Numbers.png
OpenEmu.jss.recipe
OpenEmu.png
OracleJava7.jss.recipe
OracleJava7.png
OracleJava7ExtensionAttribute.xml
OracleJava7SmartGroupTemplate.xml
OracleJava8.jss.recipe
OracleJava8.png
OracleJava8ExtensionAttribute.xml
OracleJava8JDK.jss.recipe
OracleJava8SmartGroupTemplate.xml
Pacifist.jss.recipe
Pacifist.png
Pages.jss.recipe
Pages.png
Paparazzi.jss.recipe
Paparazzi.png
PolicyTemplate.xml
PyCharm.jss.recipe
PyCharm.png
README.md
ScriptTemplate.xml
Silverlight.jss.recipe
Silverlight.png
SilverlightExtensionAttribute.xml
SilverlightSmartGroupTemplate.xml
SketchUp.png
SketchUpMake.jss.recipe
SketchUpPreinstall.sh
SketchUpScriptTemplate.xml
Skitch.jss.recipe
Skitch.png
Skype.jss.recipe
Skype.png
Slack.jss.recipe
Slack.png
SmartGroupTemplate.xml
Spotify.jss.recipe
Spotify.png
Suspicious Package.png
SuspiciousPackage.jss.recipe
TextWrangler.jss.recipe
TextWrangler.png
Twitter.jss.recipe
Twitter.png
VLC.jss.recipe
VLC.png
VirtualBox.jss.recipe
VirtualBox.png
Vivaldi.jss.recipe
Vivaldi.png
Wireshark.jss.recipe
Wireshark.png
XCode.jss.recipe
XQuartz.jss.recipe
XQuartz.png
Xcode.png
coconutBattery.jss.recipe
coconutBattery.png
iBooksAuthor.jss.recipe
iBooksAuthor.png
iMovie.jss.recipe
iMovie.png
iPhoto.jss.recipe
iPhoto.png
iTerm2.jss.recipe
iTerm2.png
iZip.jss.recipe
iZip.png
managed_software_list.txt

README.md

JSS Recipes

NOTE: This Repo has moved!

This repository has been cleaned up and moved into the AutoPkg org at https://github.com/autopkg/jss-recipes. Please consider this repo as no-longer maintained.

A collection of recipes for automatically creating self-service policies for the Casper Suite. All required sub-elements are configured and uploaded if needed, including scripts, smart-groups, packages (that's what AutoPkg is for, right?), extension attributes, and Self Service icons.

Specifically, this creates policies in the "Testing" category which scope installation of the AutoPkg-created package to smart groups named after the application. These smart groups, in most cases, look for computers which do not have this version of the app, and which are members of the "Testing" group.

The "Testing" group is NOT created by these policies. You can populate that group with hand-picked power-users, or make it a smart group that nests several other groups. For most of these recipes, even if a computer is a member of the Testing group, they still need to 1.) Have the application in question installed to begin with, and 2.) It must be out of date AND a recon done post-creation of the smart group reports an out-of-date version number.

The policy created is for self-service only, and may be run as many times as the user desires; however, it includes a "Recon" at the conclusion of the package installation, which, if the install was successful, will drop the computer out of the smart group. This way, when the next update comes out, they will be able to run the policy through Self Service again (as opposed to a "Once Per Computer" frequency).

A few of the recipes demonstrate methods to deal with tricky typees of Applications: Adobe Flash Player, for example, cannot use the same smart group criteria since it is not installed into the /Applications folder, and thus, "Application Title" and "Application Version" recon data is not available.

These are the recipes that I use to manage our client computers. Hopefully they prove useful at least as a demonstration of how to set up and use the many options for the JSSImporter. If the way I have the recipes written doesn't fit your software deployment workflow, please feel free to copy and edit, use the override system to change the exposed input variables, or to write your own from scratch, using these as an example.

Prerequisites, and Installing

These recipes are intended to be used with my jss-autopkg-addon. Grab the package installer from the releases section, and you're good to go.

  • NOTE These recipes do not work with Allister Banks' jss-autopkg-addon fork, and his recipes will not work with the release listed above.

Some of these recipes are for applications distributed through the Apple App Store. For these recipes to work, you'll need to add Nick McSpadden's AppStoreApp recipes, which in turn require the pyasn1 package to check for updates. Furthermore, you need to have the apps installed on the machine you are running AutoPkg on.

To add these:

autopkg repo-add nmcspadden-recipes

pip install --user git+https://github.com/geertj/python-asn1.git#egg=pyasn1

Obviously, make sure you meet the Licensing requirements for any App Store Apps you intend on distributing. Further, if you don't own a copy of FinalCutPro, for example, you will not be able to run the recipe! (Because you need the app installed on your machine to build the package).