User story #9230
closed
Define a dry-run lib when default bodies are not supported
Added by Alexis Mousset about 8 years ago.
Updated over 2 years ago.
Description
When default bodies are not supported, we should have an alternative. We will keep the same interface (set_dry_run_mode), be with a different behavior:
- set_dry_run_mode("false") will do nothing
- set_dry_run_mode("false") will define an abort class after printing an error message.
This will ensure compatibility of promises and a decent failure when not supported.
- Related to User story #9092: Don't break agent that do not support dry-run added
- Status changed from New to In progress
- Assignee set to Alexis Mousset
- Status changed from In progress to Pending technical review
- Assignee changed from Alexis Mousset to Jonathan CLARKE
- Pull Request set to https://github.com/Normation/ncf/pull/467
- Assignee changed from Jonathan CLARKE to Benoît PECCATTE
- Assignee changed from Benoît PECCATTE to Jonathan CLARKE
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
- Status changed from Pending release to Released
- Target version changed from master to ncf-1.2
- Project changed from 41 to Rudder
- Category changed from Generic methods to Generic methods
Also available in: Atom
PDF