diff --git a/website/source/docs/job-specification/constraint.html.md b/website/source/docs/job-specification/constraint.html.md index 6f355799d..0425cff3a 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,13 @@ constraint { } ``` +- `"is_set"` - Specifies that a given attribute must be present. This can be + combined with the `"!="` operator to require that an attribute has been set + before checking for equality. The default behavior for `"!="` is to include + nodes that don't have that attribute set. + +- `"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