Project

General

Profile

Actions

User story #11851

closed

Port techniques to multi-versionned format

Added by Nicolas CHARLES about 7 years ago. Updated over 5 years ago.

Status:
Released
Priority:
N/A
Assignee:
-
Category:
Techniques
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

We need to port a maximum of techniques in the multi-versionned technique format

Some are more easy to port than others, and here I'll list the assessed level of complexity

Easy

set_vars: it uses only ncf, so it's direct

Ok

ManageFileAndFolder, FileAlterationMonitoring: we need to change the kept_if_else to rudder_common_classes, and it will be straitfoward
groupManagement, services_management: seem quite easy

filePermissions: it loads its data from an external file - let's put the id in the file name
partitionSizeMonitoring: move body with a new name in ncf lib, and everything is straightforward

Hard or long

checkGenericFileContent: the code is really long

Postponed

generic*Definition: current implementation doesn't look compatible with the multiversioned format (variable erasure), as we can't make sure the order will be common between multi-versionned and agregated one
-> need to have a proper migration script for these one, to migrate all techniques at once, so it will be done in 4.4
variable_from_json, userManagement: we need to evaluate in details how to do it

cronConfiguration: we need to restart only once cron at the end of changes
We cannot simply do the service_restart for each version, as it would be done only once (service_restart call command_execution, so only the first will be done).

The actual solution would be to have a service where the technique will register itself and it would execute at the end the execution, along with reporting infos

packageSource, sshKeyDistribution: we need to evaluate how we implement the purge of repos or keys
-> we need to have "mono-instance" value, for a given user. The solution is not straightforward (ideas: late evaluation, purge before editing but risk of loosing data, transaction, augeas, etc)

sudoers : need a monovalued code, as the one above, but it is kind easier

Package repository keys (RPM/APT) : it reads all keys at first, and we use this info to manage keys. We should have a way to do it once BEFORE execution of the technique

Won't do

jobScheduling: the code is really complex - it won't be ported to new system

fstabConfiguration: there are a lot of classes defined in namespace, the actual code is not working as expected, so it will requiere a complete rewrite

downloadFile: it's a monoinstance technique !!


Subtasks 7 (0 open7 closed)

User story #11853: Port easy techinque to multi-versionned techniqueReleasedAlexis MoussetActions
User story #11860: Port groupManagement, filePermission, services and partitionSizeMonitoring to directive by directive generation formatReleasedAlexis MoussetActions
User story #11872: Port Package repository keys (RPM/APT) to multiversionned techniqueReleasedAlexis MoussetActions
User story #12168: Port sudoers configuration technique to multiversionned techniqueReleasedNicolas CHARLESActions
User story #12349: Port checkGenericFileContent to multi-versionned formatReleasedAlexis MoussetActions
User story #12357: Port "SSH authorised keys" Technique to multiversionned techniqueReleasedNicolas CHARLESActions
User story #12369: Port userManagement to multiversionned techniqueReleasedAlexis MoussetActions

Related issues 3 (0 open3 closed)

Related to Rudder - User story #11844: Port some more techniques to multi-versionned formatReleasedBenoît PECCATTEActions
Related to Rudder - Architecture #11858: Add common pre- and post- agent run action triggered by technique logicReleasedVincent MEMBRÉActions
Has duplicate Rudder - Bug #10580: Cannot mix audit/enforce mode on directives based on the same techniqueRejectedActions
Actions #1

Updated by Nicolas CHARLES about 7 years ago

  • Related to User story #11844: Port some more techniques to multi-versionned format added
Actions #2

Updated by Nicolas CHARLES about 7 years ago

  • Description updated (diff)
Actions #3

Updated by Nicolas CHARLES about 7 years ago

  • Description updated (diff)
Actions #4

Updated by Nicolas CHARLES about 7 years ago

  • Description updated (diff)
Actions #5

Updated by Nicolas CHARLES about 7 years ago

  • Related to Architecture #11858: Add common pre- and post- agent run action triggered by technique logic added
Actions #6

Updated by Nicolas CHARLES about 7 years ago

  • Description updated (diff)
Actions #7

Updated by Nicolas CHARLES about 7 years ago

  • Description updated (diff)
Actions #8

Updated by Nicolas CHARLES about 7 years ago

  • Description updated (diff)
Actions #9

Updated by Nicolas CHARLES about 7 years ago

  • Description updated (diff)
Actions #10

Updated by Vincent MEMBRÉ almost 7 years ago

  • Target version changed from 4.3.0~beta1 to 4.3.0~rc1
Actions #11

Updated by Vincent MEMBRÉ almost 7 years ago

  • Target version changed from 4.3.0~rc1 to 4.3.0~rc2
Actions #12

Updated by Nicolas CHARLES over 6 years ago

  • Translation missing: en.field_tag_list set to Blocking 4.3
Actions #13

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 4.3.0~rc2 to 4.3.0~rc3
Actions #14

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 4.3.0~rc3 to 4.3.0
Actions #15

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 4.3.0 to 4.3.1
Actions #16

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 4.3.1 to 4.3.2
Actions #17

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 4.3.2 to 410
Actions #18

Updated by Benoît PECCATTE over 6 years ago

  • Target version changed from 410 to 4.3.2
Actions #19

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 4.3.2 to 4.3.3
Actions #20

Updated by Alexis Mousset over 6 years ago

  • Has duplicate Bug #10580: Cannot mix audit/enforce mode on directives based on the same technique added
Actions #21

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 4.3.3 to 4.3.4
Actions #22

Updated by Benoît PECCATTE over 6 years ago

  • Target version changed from 4.3.4 to 4.3.5
Actions #23

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 4.3.5 to 4.3.6
Actions #24

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 4.3.6 to 4.3.7
Actions #25

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 4.3.7 to 4.3.8
Actions #26

Updated by Vincent MEMBRÉ almost 6 years ago

  • Target version changed from 4.3.8 to 4.3.9
Actions #27

Updated by Alexis Mousset almost 6 years ago

  • Target version changed from 4.3.9 to 4.3.10
Actions #28

Updated by François ARMAND almost 6 years ago

  • Target version changed from 4.3.10 to 4.3.11
Actions #29

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 4.3.11 to 4.3.12
Actions #30

Updated by Benoît PECCATTE over 5 years ago

  • Status changed from New to Pending technical review
Actions #31

Updated by Benoît PECCATTE over 5 years ago

  • Status changed from Pending technical review to Released

Every subtask has been released in 4.3

Actions

Also available in: Atom PDF