From 981dd2e91619bb3f25a61861cd391c3496d0ac44 Mon Sep 17 00:00:00 2001 From: Danielle Tomlinson Date: Tue, 13 Nov 2018 19:07:13 -0800 Subject: [PATCH] docs: Add is_set/is_not_set --- website/source/docs/job-specification/constraint.html.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/website/source/docs/job-specification/constraint.html.md b/website/source/docs/job-specification/constraint.html.md index 6f355799dbc8..f32f4c98d8f9 100644 --- a/website/source/docs/job-specification/constraint.html.md +++ b/website/source/docs/job-specification/constraint.html.md @@ -85,6 +85,8 @@ all groups (and tasks) in the job. regexp set_contains version + is_set + is_not_set ``` For a detailed explanation of these values and their behavior, please see @@ -196,6 +198,12 @@ constraint { } ``` +- `"is_set"` - Specifies that a given attribute must be present. This can be + used with features like `!=` to require that an attribute has been configured, + but to omit particular values. + +- `"is_not_set"` - Specifies that a given attribute must not be present. + ## `constraint` Examples The following examples only show the `constraint` stanzas. Remember that the