Menu Close

Tart-in-a-package

Tart is now available as a signed, notarized, versioned .PKG for easier deployment

Background

On 20-Jul-2022, Richard opened Issue No. 153, requesting an Apple installer package and today Cirrus Labs delivered.

Tart-0.25.2.pkg as inspected by Suspicious Package

Jamf Pro Configuration

Extension Attribute

The following Jamf Pro Extension Attribute will return the installed version of Tart.

(Note: This looks for the .PKG-installed version of Tart, not the version installed via Homebrew.)

Script

#!/bin/sh
#################################################################
# A script to determine the installed version of Tart.          #
# If the binary is not found, "Not Installed" will be returned. #
#################################################################

RESULT="Not Installed"

if [ -f "/usr/local/bin/tart" ] ; then
	RESULT=$( /usr/local/bin/tart --version )
fi

/bin/echo "<result>${RESULT}</result>"

exit 0

Smart Group

We only want our opt-in Beta Testers with Jamf Pro Compliant Computers to be able to run our Tart policy, so our Smart group may have more criteria that you’ll need:

AND / ORCRITERIAOPERATORVALUE
Tartis not0.25.2
andArchitecture Typeisarm64
and(Computer Groupmember ofAll Jamf Pro Compliant Computers
andComputer Groupnot member ofTesting: None)

Policy

Our Jamf Pro Policy may include more options than you’ll need; the critical elements are:

  • Frequency: Ongoing
  • Scope: Update Smart: Tart

Self Service

Make the policy available in Self Service (and optimally include a link to my earlier post in the description):

Tart is a virtualization toolset to build, run and manage macOS and Linux virtual machines on Apple Silicon.

See: [Testing “sideways” Jamf Pro enrollments with Tart](https://snelson.us/2022/05/testing-sideways-jamf-pro-enrollments-with-tart/)
Posted in macOS

Related Posts