Skip to content

Latest commit

 

History

History
100 lines (58 loc) · 4.09 KB

README.md

File metadata and controls

100 lines (58 loc) · 4.09 KB

Recipes

This is the repo for Sam Novak's modifed JSS recipes that are setup to be used with the latest version of JSSImporter

Keys:

Please note, case sensitivity.

  • CATEGORY - The category the pkg will be uploaded into.
  • GROUP_NAME - The name of the group in JSS that will keep track of the software version.
  • GROUP_TEMPLATE - The template file to use when creating the group.
  • SELF_SERVICE_ICON - The path to the icon file to upload for self service.
  • NAME - The name you want to give to the software (ex. {NAME}-{VERSION}.pkg)
  • POLICY_CATEGORY - The category the installation policy will be located in.
  • POLICY_TEMPLATE - The template file to be used when creating the installation policy.
  • POLICY_TRIGGER - The event that can be called to run the policy outside of self service (ex. jamf policy -event {POLICY_TRIGGER})

Notes:

My recipes overall are pretty flexible, so you should be able to create overrides and modify them to fit your needs pretty easily.

I've made the template files pretty flexible too, so you can modify them how you'd like to use them in your shop.

Example:

You want a policy to run at checkin. Duplicate PolicyTemplate.xml to MyPolicyTemplate.xml (or some other name) and open it Modify the line

<trigger_checkin>false</trigger_checkin>

to

<trigger_checkin>true</trigger_checkin>

Now open the recipe/override you want to run at checkin and modify

<string>%RECIPE_DIR%/Templates/PolicyTemplate.xml</string>

to

<string>%RECIPE_DIR%/Templates/MyPolicyTemplate.xml</string>

There are some pieces of software that require Extension Attributes to keep track of software versions, and those recipes are constructed a slightly different way.

Example:

No example currently available.

There are some pieces of software that have minimum operating system requirements (iMovie, iPhoto, etc) so in the case of these recipes the GROUP_TEMPLATE string must be changed to the appropriate template.

Example:

iMovie get updated and requires 10.10 In the iMovie recipe, change

%RECIPE_DIR%/Templates/SmartGroupTemplate-Application.xml

to

%RECIPE_DIR%/Templates/SmartGroupTemplate-Application-Yose.xml

There are also some extension attributes that are a pain to get because of the variable they use in the Info.plist file, so there is another EA template for this scenario.

Github uses a funky CFBundleShortVersion string in their Info.plist file for version tracking to work around this, there is a specific template used to track the software that reads the CFBundleVersion string instead. Now you'll be able to track github version with an Extension attribute that returns a version number.

Requires the following repos:

autopkg: AdobeAIR, Blackboard Collaborate Launcher,FlashPlayerExtractPackage, Dropbox, Evernote, Firefox_EN, GoogleChrome, Handbrake, OracleJava7, OracleJava8, sassafras-k2client, Silverlight, Skype, TextWrangler, VLC

hansen-m: AdobeDigitalEditions, Endnote X7, OracleJava8JDK

hansen-m is currently the only repo offering pkg for AdobeDigitalEditions and Oracle JDK 8

scriptingosx: garageband, iMovie, iPhoto_, keynote_, Numbers_, Pages_, xcode_, XQuartz

Scriptingosx offers a number of AppStore pieces of software, along with some additional pkg recipes that are only offered there (currently)

nmcspadden: appstore (Final Cut, Compressor, etc)

Nmcspadden offers the appstore recipe, which is super useful when packaging appstore software. I use it multiple times.

cgerke-recipes: GoogleDrive, Wireshark

Cgerke-recipes offers a PKG for GoogleDrive and Wireshark, which I would otherwise have to pull from at least 2 other repos.

arubdesu: LyncInstaller

Arubdesu offers the only Lync downloader currently offered and offers a pkg recipe for it. I sort or re-package it to display the version number in the installer.

jazzace: processing

Jazzace is the only repo currently offering processing.

justinrummel: VMwareFusion

Justinrummel is the only repo currently offering a PKG of VMWareFusion

kelleysam: Github

Kelleysam offer both the download and pkg recipe for github.