Project

General

Profile

User story #10953

Add system groups/rules/directives for windows dsc agent

Added by François ARMAND 6 months ago. Updated 6 months ago.

Status:
Released
Priority:
N/A
Category:
Web - Config management
Target version:
Target version (plugin):
Suggestion strength:
User visibility:
Effort required:

Description

We want to add system group / directive / rules for DSC agent, but also to not apply CFEngine system rules to these nodes.

The group case is funny.
We have two cases for CFEngine technique applied to lots of node today for special target:

- special:all : that target is used by "inventory" directive. It must be changed toward a rule applying to "all CFEngine agent" (because we want to keep the semantic of "special:all" to actually all nodes)
- special:hasPolicyServer:(root, relay-uuid): that one is used in fact only for CFEngine nodes. We need to renamed it (not in the serialized part for compatibility reason, but at least in the code) to CFEAgentWithPolicyServer and limit its reached in the code.

The second one is actually implemented as a dynamic group (not a special target), so we must add the possibility to target all cfengine nodes by a mean or an other).

We will need to also change the bootstrap ldif for "common" rule and change the target, and add a migration to also change it in 4.1 -> 4.2 (it could also be done when installing the DSC plugin but it seems a worse place to do it)


Subtasks

Bug #10967: Broken testReleasedNicolas CHARLES


Related issues

Related to Rudder - Bug #11171: Error when trying to remove a node Released

Associated revisions

Revision 84bf1f4c
Added by François ARMAND 6 months ago

Fixes #10953: Add system groups/rules/directives for windows dsc agent

History

#1 Updated by François ARMAND 6 months ago

  • Category set to Web - Compliance & node report
  • Assignee set to François ARMAND
  • Target version set to 4.2.0~prototype

#2 Updated by François ARMAND 6 months ago

  • Category changed from Web - Compliance & node report to Web - Config management

#3 Updated by François ARMAND 6 months ago

  • Status changed from New to In progress

#4 Updated by François ARMAND 6 months ago

  • Description updated (diff)

#5 Updated by François ARMAND 6 months ago

  • Description updated (diff)

#6 Updated by François ARMAND 6 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder/pull/1672

#7 Updated by François ARMAND 6 months ago

  • Status changed from Pending technical review to Pending release

#8 Updated by Alexis MOUSSET 6 months ago

  • Target version changed from 4.2.0~prototype to 4.2.0~beta1

#9 Updated by Alexis MOUSSET 6 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.2.0~beta1 which was released today.

#10 Updated by Nicolas CHARLES 5 months ago

  • Related to Bug #11171: Error when trying to remove a node added

Also available in: Atom PDF