You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -221,6 +221,67 @@ In this step, we’ll tie everything together by creating a managed policy to en
221
221
222
222
The devices that you scoped will receive a certificate and have the agent installed and running.
223
223
224
+
#### Configure Jamf to prevent re-deploying identical packages (optional)
225
+
226
+
By default, Jamf will attempt to re-deploy the configured package profile to every scoped Computer on a cadence. Each Computer will attempt to install the distributed package, regardless of any existing version already installed. The Smallstep Agent pkg has built in logic to skip any unnecessary install logic when the currently installed version matches the version being distributed. However, configuring Jamf to prevent identical package re-deploys can reduce wasted cycles across your entire fleet of managed computers as well as reduce resource usage of your Jamf tenant.
227
+
228
+
1. In Jamf Pro Configure an Extension Attribute that reports the currently installed version on each computers
229
+
1. In Jamf Pro under Settings → Computer Management → Extension Attributes → New
230
+
- Display Name: SmallstepAgent Version
231
+
- Data type: String
232
+
- Inventory display: General
233
+
- Input Type: Script
234
+
- Mode: Shell/Bash
235
+
-
236
+
```shell
237
+
#!/bin/bash
238
+
239
+
APP="/Applications/SmallstepAgent.app"
240
+
PLIST="$APP/Contents/Info.plist"
241
+
242
+
if [ -f"$PLIST" ];then
243
+
# Prefer marketing version, fall back to build number
3. Restrict Smallstep Agent installation policy to the newly created Smart Computer Group
265
+
1. In Jamf Pro, go to Computers → Profiles → Smallstep Agent
266
+
2. From the Scope tab, choose Edit
267
+
3. Choose Add, then choose the Computer Group tab
268
+
4. Choose Needs SmallstepAgent Version
269
+
5. Remove all other scopes
270
+
6. Save
271
+
272
+
#### Upgrading / Downgrading the Smallstep Agent package
273
+
274
+
1. Update the package
275
+
1. Download the new Smallstep Agent version
276
+
2. Follow the steps in the section titled "Create an Agent Package for Distribution" above with the new version
277
+
2. Update the Smart Computer Group criteria (optional)
278
+
279
+
This step is ony required if you have configured a Smart Computer Group.
280
+
1. In Jamf Pro, go to Computers → Smart Computer Groups → Needs SmallstepAgent Version
281
+
2. Choose the Criteria tab, then choose Edit
282
+
3. Set the value to the new version that you uploaded in the previous step.
283
+
4. Save
284
+
224
285
### Option 2: Install via a software management tool
225
286
226
287
If you're using a software management tool:
@@ -230,7 +291,7 @@ If you're using a software management tool:
230
291
3. Create a user launch agent file on the endpoint, in `/Users/<USER>/Library/LaunchAgents/com.smallstep.launchd.Agent.plist` for the primary user of the device.
231
292
232
293
The Smallstep agent does not yet support multi-user deployments on macOS—it must be installed for a single user:
233
-
294
+
234
295
```
235
296
<?xml version="1.0" encoding="UTF-8"?>
236
297
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
@@ -295,11 +356,11 @@ This step will install a script on your client devices that uninstalls the Small
0 commit comments