Project

General

Profile

Actions

Bug #8956

closed

Specified action bodies override the dry-run policy

Added by Alexis Mousset over 7 years ago. Updated 8 months ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

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 (0 open1 closed)

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

Related issues 2 (0 open2 closed)

Related to Rudder - User story #8652: Add bundles to manage dry run of generic methodsReleasedAlexis MoussetActions
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 7 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 7 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 7 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 7 years ago

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

Updated by Alexis Mousset over 7 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 7 years ago

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

Applied in changeset commit:69e5487c23cf3ac6229b5c389034b13bd7376650.

Actions #7

Updated by Vincent MEMBRÉ over 7 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 #8

Updated by Alexis Mousset almost 2 years ago

  • Target version changed from master to ncf-1.2
  • Priority set to 0
Actions #9

Updated by Alexis Mousset almost 2 years ago

  • Project changed from 41 to Rudder
  • Category changed from Generic methods to Generic methods
Actions

Also available in: Atom PDF