Commit dd7ba0b
committed
Deprecated guest_environments and defaults
CFEngine is not compiled with guest_environments by default,
so this promise type is not available in most installations.
It also hasn't been updated in a long time, so we decided
it's better to mark it as deprecated.
The defaults promise type is still possible to use, but
seems to not be widely used, nor encouraged. You can achieve
similar functionality through the use of conditionally
setting variables, often by using isvariable() function, and
also by having default values in augments files (def.json).
Thus, since we don't use defaults ourselves, and encourage
users to use normal variables and/or augments instead, it
makes sense to mark it as deprecated in docs to discourage its
use.
Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>1 parent b229848 commit dd7ba0b
3 files changed
Lines changed: 4 additions & 2 deletions
File tree
- content/reference/promise-types
- generator
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
0 commit comments