open-nomad/helper
Alex Dadgar 2650bb1d12 Distinct Property supports arbitrary limit
This PR enhances the distinct_property constraint such that a limit can
be specified in the RTarget/value parameter. This allows constraints
such as:

```
constraint {
  distinct_property = "${meta.rack}"
  value = "2"
}
```

This restricts any given rack from running more than 2 allocations from
the task group.

Fixes https://github.com/hashicorp/nomad/issues/1146
2017-07-31 16:52:13 -07:00
..
args
discover Fix tests that exec nomad 2017-03-14 16:04:33 -07:00
fields
flag-helpers Fix Vault parsing of booleans 2016-10-10 18:04:39 -07:00
flatmap
gated-writer
stats Don't fail on first error detecting cpu stats 2017-07-03 14:51:02 -07:00
testtask Move task env into execcontext 2017-05-23 13:53:34 -07:00
tlsutil Fix vet script and fix vet problems 2017-02-27 16:00:19 -08:00
funcs.go Distinct Property supports arbitrary limit 2017-07-31 16:52:13 -07:00
funcs_test.go Round two of env var cleaning 2017-03-08 16:46:13 -08:00