Fix errors and clarify docs on config platform overrides (#1855)

Closes #1846
This commit is contained in:
Zachary Wasserman 2018-06-28 12:02:31 -07:00 committed by GitHub
parent 293ca56040
commit 88cc73e4ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 12 deletions

View file

@ -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

View file

@ -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

View file

@ -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