Project

General

Profile

Actions

Bug #19570

closed

Architecture #19037: Refactor the system techniques by component

Normalize system technique, directive, rule names

Added by François ARMAND about 3 years ago. Updated about 3 years ago.

Status:
Released
Priority:
N/A
Category:
System techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

We want to normalize system configuration objects so that they all follow the same naming scheme:

Techniques:
===========
common           => common (applies on all nodes, be it root, a relay, or a simple node)
serverCommon     => server-common (applies on policy servers, same naming scheme than dsc-common)
rudderApache     => rudder-service-apache
rudderPostgresql => rudder-service-postgresql
rudderRelay      => rudder-service-relayd 
rudderSlapd      => rudder-service-slapd
rudderWebapp     => rudder-service-webapp

For dsc:
dsc-common => ok

Directives:
===========

- postfix by all if applied to all nodes
- each time the directive is specific to a policy server, postfix with its id
- commons depend upon the policy server of the node it is applied to, so postfix with "hasPolicyServer-${policyserverid}" 

inventory/inventory-all
common/common-hasPolicyServer-root
server-common/server-common-root
rudder-service-apache/rudder-service-apache-root
rudder-service-postgresql/rudder-service-postgresql-root
rudder-service-relayd/rudder-service-relayd-root
rudder-service-slapd/rudder-service-slapd-root
rudder-service-webapp/rudder-service-webapp-root

And for relays:
server-common/server-common-$relayid
rudder-service-apache/rudder-service-apache-$relayid
rudder-service-relayd/rudder-service-relayd-$relayid

For DSC:
dsc-common/dsc-common-all => ok

Groups:
=======

- nodeGroupId=all-nodes-with-cfengine-agent => ok
- nodeGroupId=all-nodes-with-dsc-agent      => ok
- nodeGroupId=hasPolicyServer-root          => ok
- ruleTarget=policyServer:root              => ok

(and for relay, same with $relayid)

Rules:
======

inventory-all
- inventory-all
* group:all-nodes-with-cfengine-agent

hasPolicyServer-root
- common-hasPolicyServer-root
* group:hasPolicyServer-root

root-DP => policy-server-root
- server-common-root
- rudder-service-apache-root
- rudder-service-postgresql-root
- rudder-service-relayd-root
- rudder-service-slapd-root
- rudder-service-webapp-root
* policyServer:root

policy-server-$relayid
- server-common-$relayid
- rudder-service-apache-$relayid
- rudder-service-relayd-$relayid
* policyServer:$relayid

DSC (keep it like in 6.2):

dsc-agent-all
- dsc-common-all
* group:all-nodes-with-dsc-agent


Subtasks 4 (0 open4 closed)

Bug #19572: Rename system techniques according to normalized schemeReleasedFélix DALLIDETActions
Bug #19575: Update initial promises generationReleasedFélix DALLIDETActions
Bug #19580: Bad name for common in initial promisesReleasedAlexis MoussetActions
Bug #19582: Missing input lists in initial promisesReleasedFélix DALLIDETActions
Actions #1

Updated by François ARMAND about 3 years ago

  • Description updated (diff)
Actions #2

Updated by François ARMAND about 3 years ago

  • Subject changed from Normalize systemen technique, directive, rule names to Normalize system technique, directive, rule names
Actions #3

Updated by François ARMAND about 3 years ago

  • Status changed from New to In progress
  • Assignee set to François ARMAND
Actions #4

Updated by François ARMAND about 3 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Félix DALLIDET
  • Pull Request set to https://github.com/Normation/rudder/pull/3733
Actions #5

Updated by François ARMAND about 3 years ago

  • Status changed from Pending technical review to Pending release
Actions #6

Updated by François ARMAND about 3 years ago

  • Parent task set to #19037
Actions #7

Updated by François ARMAND about 3 years ago

  • Translation missing: en.field_tag_list set to Blocks 7.0-beta
Actions #8

Updated by Vincent MEMBRÉ about 3 years ago

  • Status changed from Pending release to Released

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

Actions

Also available in: Atom PDF