Skip to content

Instantly share code, notes, and snippets.

@grahampugh
Created May 13, 2022 08:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grahampugh/72870a3bbcda44c9f77c9fbe1beaced3 to your computer and use it in GitHub Desktop.
Save grahampugh/72870a3bbcda44c9f77c9fbe1beaced3 to your computer and use it in GitHub Desktop.
Firefox.jss recipe in yaml format
Description: |
Downloads Firefox disk image and builds a package, then uploads to the JSS.
Identifier: com.example.jss.Firefox
ParentRecipe: com.github.autopkg.pkg.Firefox_EN
MinimumVersion: "2.3"
Input:
NAME: Firefox
CATEGORY: Productivity
GROUP_NAME: "%NAME%-update-smart"
GROUP_TEMPLATE: SmartGroupTemplate.xml
POLICY_CATEGORY: Testing
POLICY_TEMPLATE: PolicyTemplate.xml
SELF_SERVICE_DESCRIPTION: Mozilla Firefox is a free and open source web browser.
SELF_SERVICE_ICON: Firefox.png
Process:
- Processor: JSSImporter
Arguments:
category: "%CATEGORY%"
groups:
- name: "%GROUP_NAME%"
smart: true
template_path: "%GROUP_TEMPLATE%"
policy_category: "%POLICY_CATEGORY%"
policy_template: "%POLICY_TEMPLATE%"
prod_name: "%NAME%"
self_service_description: "%SELF_SERVICE_DESCRIPTION%"
self_service_icon: "%SELF_SERVICE_ICON%"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment