Hi All,
We have different software configurations that we apply depending on where the machine is going. I'll go ahead and mention that due to legal reasons well above my pay grade we can't use DEP. I'm trying to setup policies in self service that will install the software for a specific configuration by calling a custom trigger. So I can offer the applications through self service individually, or I can have a user select a configuration "bundle" and it will install all the applications tagged with that specific event trigger. The way I'm trying to go about this is by essentially stacking policies. For instance, I have a base policy that all it does is run the command 'jamf policy -event baseInstall' that installs basic software every machine should have (Chrome, Office, etc) Then I have another policy (let's say Workstation) that will execute a script that runs the command 'jamf policy -event workstationInstall' that installs workstation specific software and then runs the command 'jamf policy -event setupBase' which just calls the base policy and let's it do it's work to install the base packages. That way each configuration is self-contained and it's not necessary for the user to click on several different configurations.
I've actually gotten this to work quite nicely through several levels when scoped to All Computers. The problem I'm running into is restricting access to these policies in self-service. I only want our techs to be able to run these, at least until any kinks are worked out, so I scope all of them to the same static group that contains our techs. But after logging into self service, when I try to run any policy that calls another policy I get the error "This Item No Longer Exists" (except for the base policy which is only executing on items that are scoped to All Computers). I think what is happening is that the scope is not following the policy calls, so when policy B calls policy A it doesn't see policy A because it thinks it's outside of the scope. Is there any way to call a policy and include the jamf user calling it, or have the policies understand that when they being called by custom trigger the scope is ok or doesn't matter?
I hope I explained this well. Does anyone have any suggestions? I'm kind of stumped.