Actions
User story #6099
closedWe should be able to call actions as many times as we want
Pull Request:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Medium
Name check:
Fix check:
Regression:
Description
Some promises are not state promises but action promises.
Namely service_restart and service_reloas and maby some others are action promises.
Unlike state promises that can be checked and called only once, we should be able to call such promises as many times as we want.
For this purpose, https://dev.cfengine.com/issues/6893 must be solved, and we should use ifelapsed 0 in action promises.
Updated by Alexis Mousset almost 8 years ago
- Target version changed from 0.x to master
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from master to 4.2.2
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 4.2.2 to 4.2.3
Updated by Vincent MEMBRÉ almost 7 years ago
- Target version changed from 4.2.3 to 4.2.4
Updated by Benoît PECCATTE almost 7 years ago
- Target version changed from 4.2.4 to Ideas (not version specific)
Updated by Félix DALLIDET about 5 years ago
- Target version changed from Ideas (not version specific) to 5.0.14
Updated by Félix DALLIDET about 5 years ago
- Status changed from New to In progress
- Assignee set to Félix DALLIDET
Updated by Vincent MEMBRÉ about 5 years ago
- Target version changed from 5.0.14 to 5.0.15
Updated by Félix DALLIDET about 5 years ago
- Effort required set to Medium
We should define a dedicated bundle to save the current GM index call:
methods: "Variable string_context_${report_data.directive_id}_0" usebundle => _method_reporting_context("Variable string", "cat"); ^ | current GM index call
This way, we could use this index, concatenated with the directive id to make GM/promiser re-usable by adding comments, ifvarclass, etc...
based on: directive_id_index
In the same fashion suggested in a mix of: 15783 and 16078.
It solves both issues.
Updated by Vincent MEMBRÉ almost 5 years ago
- Target version changed from 5.0.15 to 5.0.16
Updated by Alexis Mousset almost 5 years ago
- Target version changed from 5.0.16 to 5.0.17
Updated by Vincent MEMBRÉ over 4 years ago
- Target version changed from 5.0.17 to 5.0.18
Updated by Benoît PECCATTE over 4 years ago
- Target version changed from 5.0.18 to 6.2.0~beta1
Updated by Vincent MEMBRÉ about 4 years ago
- Target version changed from 6.2.0~beta1 to 6.2.0~rc1
Updated by François ARMAND about 4 years ago
- Target version changed from 6.2.0~rc1 to 7.0.0~beta1
Updated by Alexis Mousset about 3 years ago
- Status changed from In progress to New
Updated by Vincent MEMBRÉ about 3 years ago
- Target version changed from 7.0.0~beta1 to 7.0.0~beta2
Updated by Benoît PECCATTE about 3 years ago
- Project changed from 41 to Rudder
- Category changed from Generic methods to Generic methods
Updated by Vincent MEMBRÉ about 3 years ago
- Target version changed from 7.0.0~beta2 to 7.0.0~beta3
Updated by Alexis Mousset about 3 years ago
- Target version changed from 7.0.0~beta3 to 7.1.0~beta1
Updated by Vincent MEMBRÉ over 2 years ago
- Target version changed from 7.1.0~beta1 to 7.1.0~beta2
Updated by Vincent MEMBRÉ over 2 years ago
- Target version changed from 7.1.0~beta2 to 7.1.0~rc1
Actions