mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
Update deploy-software-packages.md (#23097)
Adjusted prerequisites, moved sections, etc. # Checklist for submitter If some of the following don't apply, delete the relevant line. <!-- Note that API documentation changes are now addressed by the product design team. --> - [ ] Changes file added for user-visible changes in `changes/`, `orbit/changes/` or `ee/fleetd-chrome/changes`. See [Changes files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/Committing-Changes.md#changes-files) for more information. - [ ] Input data is properly validated, `SELECT *` is avoided, SQL injection is prevented (using placeholders for values in statements) - [ ] Added support on fleet's osquery simulator `cmd/osquery-perf` for new osquery data ingestion features. - [ ] Added/updated tests - [ ] If paths of existing endpoints are modified without backwards compatibility, checked the frontend/CLI for any necessary changes - [ ] If database migrations are included, checked table schema to confirm autoupdate - For database migrations: - [ ] Checked schema for all modified table for columns that will auto-update timestamps during migration. - [ ] Confirmed that updating the timestamps is acceptable, and will not cause unwanted side effects. - [ ] Ensured the correct collation is explicitly set for character columns (`COLLATE utf8mb4_unicode_ci`). - [ ] Manual QA for all new/changed functionality - For Orbit and Fleet Desktop changes: - [ ] Orbit runs on macOS, Linux and Windows. Check if the orbit feature/bugfix should only apply to one platform (`runtime.GOOS`). - [ ] Manual QA must be performed in the three main OSs, macOS, Windows and Linux. - [ ] Auto-update manual QA, from released version of component to new version (see [tools/tuf/test](../tools/tuf/test/README.md)).
This commit is contained in:
parent
d25e6cd067
commit
101c2adfe7
1 changed files with 22 additions and 28 deletions
|
|
@ -6,36 +6,12 @@ Fleet [v4.50.0](https://github.com/fleetdm/fleet/releases/tag/fleet-v4.50.0) int
|
|||
|
||||
## Prerequisites
|
||||
|
||||
* Fleet [v4.57.0](https://github.com/fleetdm/fleet/releases/tag/fleet-v4.57.0).
|
||||
* `fleetd` deployed with the `--enable-scripts` flag. If you're using MDM features, scripts are enabled by default.
|
||||
|
||||
* `fleetd` 1.25.0 deployed via MDM or built with the `--scripts-enabled` flag.
|
||||
|
||||
> `fleetd` prior to 1.33.0 will use a hard-coded uninstall script to clean up from a failed install. As of 1.33.0, the (default or customized) uninstall script will be used to clean up failed installs.
|
||||
|
||||
* An S3 bucket [configured](https://fleetdm.com/docs/configuration/fleet-server-configuration#s-3-software-installers-bucket) to store the installers.
|
||||
|
||||
* Increase any load balancer timeouts to at least 5 minutes for the [Add package](https://fleetdm.com/docs/rest-api/rest-api#add-package) and [Modify package](https://fleetdm.com/docs/rest-api/rest-api#modify-package) endpoints.
|
||||
* If you're self-hosting Fleet, you need an S3 bucket [configured](https://fleetdm.com/docs/configuration/fleet-server-configuration#s-3-software-installers-bucket) to store the packages. Increase any load balancer timeouts to at least 5 minutes for the [Add package](https://fleetdm.com/docs/rest-api/rest-api#add-package) and [Modify package](https://fleetdm.com/docs/rest-api/rest-api#modify-package) API endpoints.
|
||||
|
||||
## Step-by-step instructions
|
||||
|
||||
### Access software packages
|
||||
|
||||
To access and manage software in Fleet:
|
||||
|
||||
* **Navigate to the Software page**: Click on the "Software" tab in the main navigation menu.
|
||||
|
||||
* **Select a team**: Click on the dropdown at the top left of the page.
|
||||
|
||||
> Software packages are tied to a specific team. This allows you to, for example, test a newer release of an application within your IT team before rolling it out to the rest of your organization, or deploy the appropriate architecture-specific installer to both Intel and Apple Silicon Macs.
|
||||
|
||||
* **Find your software**: using the filters on the top of the table, you can choose between:
|
||||
|
||||
* “Available for install” filters software that can be installed on your hosts.
|
||||
|
||||
* “Self-service” filters software that end users can install from Fleet Desktop.
|
||||
|
||||
* **Select software package**: Click on a software package to view details and access additional actions for the software.
|
||||
|
||||
### Add a software package to a team
|
||||
|
||||
* **Navigate to the Software page**: Click on the "Software" tab in the main navigation menu.
|
||||
|
|
@ -110,7 +86,7 @@ After a software package is added to a team, it can be installed on hosts via th
|
|||
|
||||
* **Edit software package**: From the Actions menu, select "Edit."
|
||||
|
||||
> Editing the pre-install query, install script, post-install script, or uninstall script cancels all pending installations and uninstallations for that package, except for installs and uninstalls that are currently running on a host. If a new software package is uploaded, in addition to canceling pending installs and uninstalls, host counts (for installs and pending and failed installs and uninstalls) will be reset to zero, so counts reflect the currently uploaded version of the package.
|
||||
> Editing the advanced options cancels all pending installations and uninstallations for that package. Installs and uninstalls currently running on a host will complete, but results won't appear in Fleet. The software's host counts will be reset.
|
||||
|
||||
### Uninstall a software package on a host
|
||||
|
||||
|
|
@ -124,7 +100,7 @@ After a software package is installed on a host, it can be uninstalled on the ho
|
|||
|
||||
* **Find your software package**: Use the dropdown to select software “Available for install” or use the search bar to search for your software package by name.
|
||||
|
||||
* **Uninstall the software package from the host**: In the rightmost column of the table, click on “Actions” > “Uninstall.” Uninstallation will happen automatically or when the host comes online.
|
||||
* **Uninstall the software package from the host**: In the rightmost column of the table, click on “Actions” > “Uninstall.”
|
||||
|
||||
* **Track uninstallation status**: by either
|
||||
|
||||
|
|
@ -150,6 +126,24 @@ After a software package is installed on a host, it can be uninstalled on the ho
|
|||
|
||||
> Removing a software package from a team will cancel pending installs for hosts that are not in the middle of installing the software but will not uninstall the software from hosts where it is already installed.
|
||||
|
||||
### Access software packages
|
||||
|
||||
To access and manage software in Fleet:
|
||||
|
||||
* **Navigate to the Software page**: Click on the "Software" tab in the main navigation menu.
|
||||
|
||||
* **Select a team**: Click on the dropdown at the top left of the page.
|
||||
|
||||
> Software packages are tied to a specific team. This allows you to, for example, test a newer release of an application within your IT team before rolling it out to the rest of your organization, or deploy the appropriate architecture-specific installer to both Intel and Apple Silicon Macs.
|
||||
|
||||
* **Find your software**: using the filters on the top of the table, you can choose between:
|
||||
|
||||
* “Available for install” filters software that can be installed on your hosts.
|
||||
|
||||
* “Self-service” filters software that end users can install from Fleet Desktop.
|
||||
|
||||
* **Select software package**: Click on a software package to view details and access additional actions for the software.
|
||||
|
||||
### Manage software with the REST API
|
||||
|
||||
Fleet also provides a REST API for managing software programmatically. The API allows you to add, update, retrieve, list, and delete software. Detailed documentation on Fleet's [REST API is available]([https://fleetdm.com/docs/rest-api/rest-api#software](https://fleetdm.com/docs/rest-api/rest-api#software)), including endpoints for installing and uninstalling packages.
|
||||
|
|
|
|||
Loading…
Reference in a new issue