Skip to content

Commit 19947a0

Browse files
Add support for post_install_script (#25683)
This is supported in gitops but not referenced in docu.
1 parent a1a4341 commit 19947a0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/Configuration/yaml-files.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@ Use `labels_include_any` to target hosts that have any label in the array or `la
349349
- `pre_install_query.path` is the osquery query Fleet runs before installing the software. Software will be installed only if the [query returns results](https://fleetdm.com/tables) (default: `""`).
350350
- `install_script.path` specifies the command Fleet will run on hosts to install software. The [default script](https://github.com/fleetdm/fleet/tree/main/pkg/file/scripts) is dependent on the software type (i.e. .pkg).
351351
- `uninstall_script.path` is the script Fleet will run on hosts to uninstall software. The [default script](https://github.com/fleetdm/fleet/tree/main/pkg/file/scripts) is dependent on the software type (i.e. .pkg).
352+
- `post_install_script.path` is the script Fleet will run on hosts after the software install. There is no default.
352353
- `self_service` specifies whether or not end users can install from **Fleet Desktop > Self-service**.
353354

354355
#### Example
@@ -361,6 +362,8 @@ install_script:
361362
path: ../lib/software/tailscale-install-script.ps1
362363
uninstall_script:
363364
path: ../lib/software/tailscale-uninstall-script.ps1
365+
post_install_script:
366+
path: ../lib/software/tailscale-config-script.ps1
364367
self_service: true
365368
```
366369

0 commit comments

Comments
 (0)