Skip to content

Instantly share code, notes, and snippets.

@grahampugh
Created May 13, 2022 08:45
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grahampugh/c07ff16ae3b4d702bebc19949546c27e to your computer and use it in GitHub Desktop.
Save grahampugh/c07ff16ae3b4d702bebc19949546c27e to your computer and use it in GitHub Desktop.
PolicyTemplate for a "standard" .jamf recipe
<?xml version="1.0" encoding="UTF-8"?>
<policy>
<general>
<name>%POLICY_NAME%</name>
<enabled>true</enabled>
<frequency>Ongoing</frequency>
<category>
<name>%POLICY_CATEGORY%</name>
</category>
</general>
<scope>
<computers/>
<computer_groups>
<computer_group>
<name>%GROUP_NAME%</name>
</computer_group>
</computer_groups>
<exclusions>
<computers/>
<computer_groups/>
</exclusions>
</scope>
<package_configuration>
<packages>
<size>1</size>
<package>
<name>%pkg_name%</name>
<action>Install</action>
</package>
</packages>
</package_configuration>
<scripts>
<size>0</size>
</scripts>
<self_service>
<use_for_self_service>true</use_for_self_service>
<install_button_text>Install %version%</install_button_text>
<reinstall_button_text>Reinstall %version%</reinstall_button_text>
<self_service_display_name>%SELF_SERVICE_DISPLAY_NAME%</self_service_display_name>
<self_service_description>%SELF_SERVICE_DESCRIPTION%</self_service_description>
</self_service>
<maintenance>
<recon>true</recon>
</maintenance>
<files_processes/>
</policy>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment