Skip to main content
Question

Uploading packages to multiple JSS Instances

  • October 3, 2018
  • 2 replies
  • 22 views

Forum|alt.badge.img+2

I work for a MSP who manage multiple JSS. Is there a workflow for uploading packages to multiple JSS at the same time? Package patch management is a pain especially for multiple environments I'm wondering who other people tackle it.

Thanks

2 replies

pete_c
Forum|alt.badge.img+16
  • Honored Contributor
  • August 3, 2019

Having recently acquired a 3rd JSS, I'm also interested in how others have tackled this.


doschupp
Forum|alt.badge.img+3
  • New Contributor
  • September 20, 2019

We use AutoPkg and GitLab CI to upload packages to multiple JSS instances.

shortly description

On a manual or scheduled trigger a CI pipeline is started with one or more jobs. If the variable $RECIPE_ID is set, only this recipe will be packaged. If not, a script will be started that triggers a new job for each jss recipe - so any runner (job executer) can grab an autopkg job. When we push a new recipe, we update our package definitions and check if they are valid.


The autopkg_jss_tools.py is an adapted script from the Facebooks CPE team, so it will work with jss and not munki.

how to handle more jss instances

Because we have two separate instances we change the configuration with defaults/plutil matching a new variable $MDM_Server if necessary (run before script). We tried it with symlinks before, but it didn't worked.

If you are interested in more details we can publish more on our blog.