diff --git a/website/source/docs/job-specification/affinity.html.md b/website/source/docs/job-specification/affinity.html.md index 61419ea8b..8e6e516dc 100644 --- a/website/source/docs/job-specification/affinity.html.md +++ b/website/source/docs/job-specification/affinity.html.md @@ -40,7 +40,7 @@ job "docs" { group "example" { # Prefer the "r1" rack affinity { - operator = "${meta.rack}" + attribute = "${meta.rack}" value = "r1" weight = 50 } diff --git a/website/source/docs/job-specification/vault.html.md b/website/source/docs/job-specification/vault.html.md index c4543763e..f99f1c7fa 100644 --- a/website/source/docs/job-specification/vault.html.md +++ b/website/source/docs/job-specification/vault.html.md @@ -47,7 +47,7 @@ job "docs" { ``` The Nomad client will make the Vault token available to the task by writing it -to the secret directory at `secret/vault_token` and by injecting a VAULT_TOKEN +to the secret directory at `secrets/vault_token` and by injecting a VAULT_TOKEN environment variable. If Nomad is unable to renew the Vault token (perhaps due to a Vault outage or