Created
May 13, 2022 08:22
-
-
Save grahampugh/2460ba2a59fb30efdfe467d6f10f8d70 to your computer and use it in GitHub Desktop.
Firefox.jamf recipe in YAML format
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Description: | | |
Downloads the latest version of Firefox and makes a pkg. Then, uploads the package to the Jamf Pro Server and creates a Self Service Policy and Smart Group. | |
Identifier: com.example.jamf.Firefox | |
MinimumVersion: "2.3" | |
ParentRecipe: com.github.autopkg.pkg.Firefox_EN | |
Input: | |
NAME: Firefox | |
CATEGORY: Productivity | |
GROUP_NAME: "%NAME%-update-smart" | |
GROUP_TEMPLATE: JamfSmartGroupTemplate.xml | |
TESTING_GROUP_NAME: Testing | |
POLICY_CATEGORY: Testing | |
POLICY_TEMPLATE: JamfPolicyTemplate.xml | |
POLICY_NAME: "Install Latest %NAME%" | |
SELF_SERVICE_DISPLAY_NAME: "Install Latest %NAME%" | |
SELF_SERVICE_DESCRIPTION: Mozilla Firefox is a free and open source web browser. | |
SELF_SERVICE_ICON: "%NAME%.png" | |
UPDATE_PREDICATE: "pkg_uploaded == False" | |
Process: | |
- Processor: com.github.grahampugh.jamf-upload.processors/JamfCategoryUploader | |
Arguments: | |
category_name: "%CATEGORY%" | |
- Processor: com.github.grahampugh.jamf-upload.processors/JamfPackageUploader | |
Arguments: | |
category_name: "%CATEGORY%" | |
- Processor: StopProcessingIf | |
Arguments: | |
predicate: "%UPDATE_PREDICATE%" | |
- Processor: com.github.grahampugh.jamf-upload.processors/JamfComputerGroupUploader | |
Arguments: | |
computergroup_template: "%GROUP_TEMPLATE%" | |
computergroup_name: "%GROUP_NAME%" | |
- Processor: com.github.grahampugh.jamf-upload.processors/JamfCategoryUploader | |
Arguments: | |
category_name: "%POLICY_CATEGORY%" | |
- Processor: com.github.grahampugh.jamf-upload.processors/JamfPolicyUploader | |
Arguments: | |
policy_template: "%POLICY_TEMPLATE%" | |
policy_name: "%POLICY_NAME%" | |
icon: "%SELF_SERVICE_ICON%" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment