Project

General

Profile

Actions

User story #1360

open

Allow Technique to reuse other technique as building blocks / dependencies

Added by Jonathan CLARKE almost 13 years ago. Updated about 6 years ago.

Status:
New
Priority:
1
Assignee:
-
Category:
Web - Config management
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

We would like to be able to make technique depends on other techniques to build up complex scenarii.

The notion of dependency here is a little fuzzy: it's more that we want to be able to tell that a technique need something provided by an other technique, but it would make sense to have a common view for such "composed" technique (i.e a way to configure in one go a technique and it's building blocks/dependencies.

A part of the that is already possible with the technique editor and ncf, but we would like to be able to fully reuse existing techniques, or even reuse+give defaults value, or reuse+override to provide a new set of user input.

A dependency would need to be on a technique and on a precise version.

The original ticket was referencing a meeting, but it's mostly irrelevant now (I extracted interesting parts here).

Actions #1

Updated by Jonathan CLARKE almost 13 years ago

  • Estimated time set to 2.00 h
Actions #2

Updated by Jonathan CLARKE almost 13 years ago

  • Status changed from 2 to Discussion
  • % Done changed from 0 to 70

This meeting took place yesterday, between NCH and VMU. A summary is here: https://redmine.normation.com/wiki/rudder/DependancePT

It seems a point was missed: how to pass parameters to a PT that needs multiple instance sections with multiple variables in each.

Actions #3

Updated by Jonathan CLARKE almost 13 years ago

I have a comment regarding the details outlined in https://redmine.normation.com/wiki/rudder/DependancePT.

Is it really necessary to duplicate the "decription" field of a PT that is a dependency? This doesn't seem very DRY to me, but maybe I've missed the point.

Actions #4

Updated by François ARMAND almost 13 years ago

  • Subject changed from [Réunion] Une PT dépend d'une autre avec des paramètres et une version (spécification) to [Réunion] Une PT dépend d'une autre avec des paramètres et une version: variables multivaluées
  • Target version changed from 13 to 14
We need to explicit how to pass a value for multivaluated variables, especially:
  • the case where a unique multival. variable in a section with several variables
  • the case of a multivaluated version
  • every of these cases when they happen for variables contained in multival. sub-sections (the method should be recursive)

These specs should be easy to manipulate for the user, especially in the case of multival. sections, the variables should be grouped by iteration and not by variable name.

Actions #5

Updated by Jonathan CLARKE over 12 years ago

  • Target version changed from 14 to 16

Specs still need to be completed, as far as I can tell, so this issue is moved forwards to the next run.

Actions #6

Updated by Jonathan CLARKE over 12 years ago

  • Target version changed from 16 to 10
Actions #7

Updated by Jonathan CLARKE over 12 years ago

  • Target version changed from 10 to 18
Actions #9

Updated by Jonathan CLARKE over 12 years ago

  • Target version changed from 18 to 24
Actions #10

Updated by Jonathan CLARKE almost 12 years ago

  • Target version changed from 24 to Ideas (not version specific)
Actions #11

Updated by Benoît PECCATTE about 9 years ago

  • Category changed from 14 to Web - Config management
Actions #12

Updated by Matthieu CERDA about 9 years ago

  • Subject changed from [Réunion] Une PT dépend d'une autre avec des paramètres et une version: variables multivaluées to [Meeting] A PT depends on another one with parameters and a version: multivalued variables
  • Description updated (diff)
Actions #13

Updated by Benoît PECCATTE about 7 years ago

  • Subject changed from [Meeting] A PT depends on another one with parameters and a version: multivalued variables to [Meeting] A technique depends on another one with parameters and a version: multivalued variables
Actions #14

Updated by François ARMAND about 6 years ago

  • Subject changed from [Meeting] A technique depends on another one with parameters and a version: multivalued variables to Allow Technique to reuse other technique as building blocks / dependencies
  • Description updated (diff)
  • Status changed from Discussion to New
  • Assignee deleted (Nicolas CHARLES)

I'm keeping that User story, as it makes sens to thing of dependant techniques, and we should keep it for the record. On the other hand, the Referenced meeting note is totally outdated, and it's not sure at all that we would like to make the dependency notion be implemented like that today. So I will also clause the implementation ticket because it is not relevant anymore.

Actions #15

Updated by François ARMAND about 6 years ago

  • Precedes deleted (User story #1361: [Meeting] A technique depends on another one with parameters and a version: multivalued variables (implementation parser))
Actions

Also available in: Atom PDF