When I lay a new, clean, unbooted image on a machine and enroll it into casper I seem to have two differing results based on the status of the machine in casper at the time. If the machine is not already in casper, then after enrolling I run sudo jamf policy in terminal and it runs the first inventory based on policy. Then I add it to a static group that inherits many policies. I run sudo jamf policy again and those policies all run. In this scenario all of the software behaves normally.
If I then lay a new, clean, unbooted image onto the machine again, but leave it in Casper, I have some issues. I enroll the machine again and I go to terminal and run sudo jamf policy. This time, instead of running the inventory alone first, it picks up all of the policies it is part of and starts running them. After it is done, I open one of my programs and it has errors that weren’t there before.
So my question is, what is going on that could be producing different results? Should I not enroll a machine that has been previously enrolled and already has policies? Somehow something is behaving differently that is causing this problem.
