docs: Add is_set/is_not_set

This commit is contained in:
Danielle Tomlinson
2018-11-13 19:07:13 -08:00
parent 3d0a45f6e5
commit cf8bc3224d

View File

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