Skip to content

Instantly share code, notes, and snippets.

@grahampugh
Created May 13, 2022 08:10
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/4d33ec7ba939648cfbacae0b46d28af1 to your computer and use it in GitHub Desktop.
Save grahampugh/4d33ec7ba939648cfbacae0b46d28af1 to your computer and use it in GitHub Desktop.
Firefox.jss recipe in plist format
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Description</key>
<string>Downloads Firefox disk image and builds a package, then uploads to the JSS..</string>
<key>Identifier</key>
<string>com.example.jss.Firefox</string>
<key>Input</key>
<dict>
<key>CATEGORY</key>
<string>Productivity</string>
<key>GROUP_NAME</key>
<string>%NAME%-update-smart</string>
<key>GROUP_TEMPLATE</key>
<string>SmartGroupTemplate.xml</string>
<key>NAME</key>
<string>Firefox</string>
<key>POLICY_CATEGORY</key>
<string>Testing</string>
<key>POLICY_TEMPLATE</key>
<string>PolicyTemplate.xml</string>
<key>SELF_SERVICE_DESCRIPTION</key>
<string>Mozilla Firefox is a free and open source web browser.</string>
<key>SELF_SERVICE_ICON</key>
<string>Firefox.png</string>
</dict>
<key>MinimumVersion</key>
<string>0.4.0</string>
<key>ParentRecipe</key>
<string>com.github.autopkg.pkg.Firefox_EN</string>
<key>Process</key>
<array>
<dict>
<key>Arguments</key>
<dict>
<key>category</key>
<string>%CATEGORY%</string>
<key>groups</key>
<array>
<dict>
<key>name</key>
<string>%GROUP_NAME%</string>
<key>smart</key>
<true/>
<key>template_path</key>
<string>%GROUP_TEMPLATE%</string>
</dict>
</array>
<key>policy_category</key>
<string>%POLICY_CATEGORY%</string>
<key>policy_template</key>
<string>%POLICY_TEMPLATE%</string>
<key>prod_name</key>
<string>%NAME%</string>
<key>self_service_description</key>
<string>%SELF_SERVICE_DESCRIPTION%</string>
<key>self_service_icon</key>
<string>%SELF_SERVICE_ICON%</string>
</dict>
<key>Processor</key>
<string>JSSImporter</string>
</dict>
</array>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment