Project

General

Profile

Actions

Bug #8956

closed

Specified action bodies override the dry-run policy

Added by Alexis MOUSSET over 4 years ago. Updated almost 4 years ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
Severity:
User visibility:
Effort required:
Priority:

Description

Everytime the default body action is overiden, the dry-run policy will not be used. For example:

body action do_if_immediate {
  immediate::
   action_policy => "fix";
  warn::
   action_policy => "warn";
}

Subtasks 1 (1 open0 closed)

User story #9048: Add a test for action bodies that do not contain a test on dry-run classesNewActions

Related issues

Related to ncf - User story #8652: Add bundles to manage dry run of generic methodsReleasedAlexis MOUSSET2016-07-22Actions
Related to Rudder - User story #1808: Add an Audit mode to Rudder: only check properties, no modification on nodesReleased2015-09-21Actions
Actions #1

Updated by Alexis MOUSSET over 4 years ago

We also need to change CFEngine's stdlib action bodies (and we use some of them in Rudder techniques).

Actions #2

Updated by Alexis MOUSSET over 4 years ago

  • Related to User story #8652: Add bundles to manage dry run of generic methods added
Actions #3

Updated by François ARMAND over 4 years ago

  • Related to User story #1808: Add an Audit mode to Rudder: only check properties, no modification on nodes added
Actions #4

Updated by Alexis MOUSSET over 4 years ago

  • Status changed from New to In progress
  • Assignee set to Alexis MOUSSET
Actions #5

Updated by Alexis MOUSSET over 4 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis MOUSSET to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/ncf/pull/436
Actions #6

Updated by Alexis MOUSSET over 4 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #7

Updated by Vincent MEMBRÉ over 4 years ago

  • Status changed from Pending release to Released

This bug has been fixed in ncf version that comes with Rudder 3.2.8/7 which was released today.

Actions

Also available in: Atom PDF