Smart group based on JSS Configuration

jarradyuhas
Contributor

Is there a way to add computers to a smart group based on which configuration was used through casper imaging?

2 REPLIES 2

mm2270
Legendary Contributor III

Only way to do it currently is to add some additional package or script that would write out the Configuration name to a local file or plist, and then use an Extension Attribute to pick that information up. And then use that criteria in the Smart Group.
There isn't a default file or setting that gets added to either a computer record in the JSS, or the local computer itself to indicate which CI configuration has been used.
We use DeployStudio, but we do something similar to the above, by adding a "build" identifier as one of the packages that gets deployed during imaging, and then picked up in an EA.

scottb
Honored Contributor

@jarradyuhas - we do the same basic thing that @mm2270 does/recommends. Works great - use an EA to pick up the build numbers and then create smart groups.