Skip to main content
Question

Cache packages, install Cached packages...install order question?

  • June 26, 2012
  • 5 replies
  • 19 views

donmontalvo
Forum|alt.badge.img+36

We want to deploy 3 big PKG installers that have to be run in order.

  1. PKG for a CS suite set to Priority10
  2. PKG for AIR install set to Priority11
  3. PKG for AIR/CHC config set to Priority12

We have 1 policy set up to cache each of the 3 packages. The policy has the [x]Install Cached Packages checked. Does this mean the 3 packages will also run in order?

We originally set up 3 separate policies, to daisy chain them, but for logistical reasons we have to use 1 single policy.

So I wanted to confirm...is JSS intelligent enough to respect the priority set for each PKG when we choose to cache and then install cached PKGs?

Thanks, [color=red]<-- Sorry @meck :)[/color]
Don

5 replies

bentoms
Forum|alt.badge.img+35
  • Hall of Fame
  • June 26, 2012

I thought it worked in Alpha-Numeric order.

Could be wrong though.


mm2270
Forum|alt.badge.img+24
  • Legendary Contributor
  • June 26, 2012

@Don, that's a really good question. I'm curious of the answer to this as well. We don't often need to install several cached pkgs in any particular order, but if we ever do, I'd like to know how it handles that.


donmontalvo
Forum|alt.badge.img+36
  • Author
  • Hall of Fame
  • June 26, 2012

Hmmm...has me thinking as well about how [x]Must be installed at boot time works, does it install by priority when cached for install on first reboot at imaging time?

I'll ping our JAMF buddy to see if he has the answer...

Don


Forum|alt.badge.img+12
  • Contributor
  • June 26, 2012

@Don: from what I've seen, checking install at boot time does respect the ordering of 1. priority and then 2. alphabetic

The tricky part, I find, is when you have multiple scripts set to run on reboot (or first, or even last) that must follow a particular order. To this end, I've started prefixing such scripts with 00, 01, 02, etc., to ensure they run in a particular order, since Casper also defaults to alphabetizing scripts with the same "priority."


Forum|alt.badge.img+24
  • Valued Contributor
  • June 27, 2012

+1 to Andrew. Spot on.