Little bit of backstory...
We setup an external JSS for our laptop users only. I have a policy called "External JSS" to change the JSS URL scoped to my "Laptops" smart group.
Here is the command that is being executed in the policy.
jamf createconf -url https://external.jssinstance.com:8443/ -server external.jssinstance.com -target /
The issue is that when these machines are on our network and a policy is triggered, the URL is being changed back to our Internal JSS instance. Here's some lines from /var/log/jamf.log showing the change. First line is my "External JSS" policy doing it's thing, second is me pushing a package via Casper Remote and the URL being changed back.
Wed Sep 24 15:18:01 NYC-C02H3AS9DJWT jamf[1740]: The SSL Certificate for https://external.jssinstance.com:8443/ must be trusted for the jamf binary to connect to it.
Wed Sep 24 15:28:23 NYC-C02H3AS9DJWT jamf[2112]: The SSL certificate for https://internal.jssinstance.com:8443/ does not need to be trusted.
Wed Sep 24 15:28:24 NYC-C02H3AS9DJWT jamf[2119]: Checking for policy ID 1149...
Wed Sep 24 15:28:25 NYC-C02H3AS9DJWT jamf[2119]: Executing Policy 2014-09-24 at 3:28 PM | jssadmin | 1 Computer...
As a workaround I have modified my "External JSS" policy as ongoing, cached, and triggered on network state change.
Anyone have any ideas why the URL isn't sticking?
