Skip to content

Instantly share code, notes, and snippets.

@Honestpuck
Last active December 22, 2021 01:09
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 Honestpuck/ad67098fd159e7d2a4b0103d7619dfb1 to your computer and use it in GitHub Desktop.
Save Honestpuck/ad67098fd159e7d2a4b0103d7619dfb1 to your computer and use it in GitHub Desktop.
Package Checklist for PatchBot

Package Checklist

  1. Find recipe
    1. Make override
  2. Check for patch definition
    1. If there isn't one raise a ticket with Jamf support
  3. Add patch title
  4. Build package
  5. Upload package with <title>_DELETE_ME name
  6. Attach package to old version in patch title
  7. Create test policy TEST-<title>
    1. Scope to 'Package Testers' group
    2. Disable
    3. Attach our package
  8. Create install policy Install <title>
    1. Scope how you wish
    2. Attach our package
  9. Create test patch policy <patch title> Test
  10. Create production patch policy <patch title> Stable
  11. Write PatchManager recipe
    1. Make override
  12. Write Production recipe
    1. Make override
  13. Add package to autopkg.txt
  14. Add package to patch.txt
  15. Add package to production.txt

Testing

  1. Delete package from AutoPkg cache
  2. Run .pkg recipe
    1. Check package is built
    2. Check package is uploaded
  3. Run .ptch recipe
    1. Check TEST policy is pointing to the right package
    2. Check patch definition version is pointing to the right package
    3. Check Test patch policy is pointing to the right version
    4. Check Test patch policy has self service description correct
  4. Run .prod recipe
    1. Check Install policy is pointing to the right package
    2. Check Stable patch policy is pointing to the right version
    3. Check Test patch policy has been disabled
  5. Delete the <title>_DELETE_ME package
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment