Skip to content

Instantly share code, notes, and snippets.

@zackn9ne
Created May 8, 2020 18:47
Show Gist options
  • Save zackn9ne/c68d8c76d4374f8d36d35a2409f4fc06 to your computer and use it in GitHub Desktop.
Save zackn9ne/c68d8c76d4374f8d36d35a2409f4fc06 to your computer and use it in GitHub Desktop.
slack.multi.jss.recipe
<?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 the latest version of Slack and makes a pkg of it Then, uploads to the Jamf Pro Server.</string>
<key>Identifier</key>
<string>com.github.killahquam.jss.slack</string>
<key>Input</key>
<dict>
<key>CATEGORY</key>
<string>Misc. Apps</string>
<key>GROUP_NAME</key>
<string>update-smart-%NAME%</string>
<key>GROUP_TEMPLATE</key>
<string>SmartGroupTemplateAutopatch.xml</string>
<key>NAME</key>
<string>Slack</string>
<key>PROD_NAME</key>
<string>%NAME%</string>
<key>SOFTWARETITLE</key>
<string>%NAME%</string>
<key>POLICY_CATEGORY</key>
<string>Autopkg</string>
<key>POLICY_TEMPLATE</key>
<string>PolicyTemplateAutopatch2.xml</string>
<key>SELF_SERVICE_DESCRIPTION</key>
<string></string>
<key>SELF_SERVICE_ICON</key>
<string>Slack.png</string>
<key>BETA_GROUP_NAME</key>
<string>update-smart-%NAME%-beta</string>
<key>BETA_GROUP_TEMPLATE</key>
<string>%RECIPE_DIR%/SmartGroupTemplateBetapatch.xml</string>
<key>SELFSERVPOLICY_CATEGORY</key>
<string>Misc. Apps</string>
<key>SELFSERVPOLICY_TEMPLATE</key>
<string>%RECIPE_DIR%/PolicyTempalteSelfServe.beta.xml</string>
</dict>
<key>MinimumVersion</key>
<string>0.2.0</string>
<key>ParentRecipe</key>
<string>com.github.killahquam.pkg.slack</string>
<key>Process</key>
<array>
<dict>
<key>Arguments</key>
<dict>
<key>category</key>
<string>%CATEGORY%</string>
<!-- groups are nested or recursion mess not related to policy -->
<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>
<dict>
<key>Arguments</key>
<dict>
<!-- groups are nested or recursion mess not related to policy -->
<key>groups</key>
<array>
<dict>
<key>name</key>
<string>%BETA_GROUP_NAME%</string>
<key>smart</key>
<true/>
<key>template_path</key>
<string>%BETA_GROUP_TEMPLATE%</string>
</dict>
</array>
<key>pkg_path</key>
<string>%pkg_path%</string>
<key>policy_category</key>
<string>%SELFSERVPOLICY_CATEGORY%</string>
<key>policy_template</key>
<!-- set beta or live here -->
<string>%SELFSERVPOLICY_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>
<key>version</key>
<string>%version%</string>
</dict>
<key>Processor</key>
<string>JSSImporter</string>
<key>Comment</key>
<string>Self Service install policy, also makes a beta group but unrelated</string>
</dict>
</array>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment