mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
Fix errors and clarify docs on config platform overrides (#1855)
Closes #1846
This commit is contained in:
parent
293ca56040
commit
88cc73e4ca
3 changed files with 15 additions and 12 deletions
|
|
@ -152,9 +152,10 @@ spec:
|
|||
3600: "SELECT total_seconds AS uptime FROM uptime"
|
||||
overrides:
|
||||
# Note configs in overrides take precedence over the default config defined
|
||||
# under the config key above. With this config file, the base config would
|
||||
# only be used for Windows hosts, while Mac and Linux hosts would pull
|
||||
# these overrides.
|
||||
# under the config key above. Hosts receive overrides based on the platform
|
||||
# returned by `SELECT platform FROM os_version`. In this example, the base
|
||||
# config would be used for Windows and CentOS hosts, while Mac and Ubuntu
|
||||
# hosts would receive their respective overrides.
|
||||
platforms:
|
||||
darwin:
|
||||
options:
|
||||
|
|
@ -172,7 +173,7 @@ spec:
|
|||
etc:
|
||||
- /etc/%%
|
||||
|
||||
linux:
|
||||
ubuntu:
|
||||
options:
|
||||
distributed_interval: 10
|
||||
distributed_tls_max_attempts: 3
|
||||
|
|
|
|||
|
|
@ -19,9 +19,10 @@ spec:
|
|||
3600: "SELECT total_seconds AS uptime FROM uptime"
|
||||
overrides:
|
||||
# Note configs in overrides take precedence over the default config defined
|
||||
# under the config key above. With this config file, the base config would
|
||||
# only be used for Windows hosts, while Mac and Linux hosts would pull
|
||||
# these overrides.
|
||||
# under the config key above. Hosts receive overrides based on the platform
|
||||
# returned by `SELECT platform FROM os_version`. In this example, the base
|
||||
# config would be used for Windows and CentOS hosts, while Mac and Ubuntu
|
||||
# hosts would receive their respective overrides.
|
||||
platforms:
|
||||
darwin:
|
||||
options:
|
||||
|
|
@ -38,7 +39,7 @@ spec:
|
|||
- /Users/%/Documents/%%
|
||||
etc:
|
||||
- /etc/%%
|
||||
linux:
|
||||
ubuntu:
|
||||
options:
|
||||
distributed_interval: 10
|
||||
distributed_tls_max_attempts: 3
|
||||
|
|
|
|||
|
|
@ -19,9 +19,10 @@ spec:
|
|||
3600: "SELECT total_seconds AS uptime FROM uptime"
|
||||
overrides:
|
||||
# Note configs in overrides take precedence over the default config defined
|
||||
# under the config key above. With this config file, the base config would
|
||||
# only be used for Windows hosts, while Mac and Linux hosts would pull
|
||||
# these overrides.
|
||||
# under the config key above. Hosts receive overrides based on the platform
|
||||
# returned by `SELECT platform FROM os_version`. In this example, the base
|
||||
# config would be used for Windows and CentOS hosts, while Mac and Ubuntu
|
||||
# hosts would receive their respective overrides.
|
||||
platforms:
|
||||
darwin:
|
||||
options:
|
||||
|
|
@ -38,7 +39,7 @@ spec:
|
|||
- /Users/%/Documents/%%
|
||||
etc:
|
||||
- /etc/%%
|
||||
linux:
|
||||
ubuntu:
|
||||
options:
|
||||
distributed_interval: 10
|
||||
distributed_tls_max_attempts: 3
|
||||
|
|
|
|||
Loading…
Reference in a new issue