Project

General

Profile

Actions

Bug #10397

closed

User story #6244: Automatic directive naming

Missing "default-directive-names.conf" example file

Added by François ARMAND almost 8 years ago. Updated over 7 years ago.

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

Description

The parent task added the possibility to have a default naming scheme in Rudder UI for new directives (by version if wanted).

We should add the default example file so that it is on all Rudder fresh installation.
I'm not sure if we prefer to add it in Rudder and copy it during packaging, or just add it in rudder-techniques repository, (in "techniques" directory).

The file could look like:

$cat techniques/default-directive-names.conf

#
# This file contains the default name that a directive gets in Rudder UI creation pop-up.
# The file format is a simple key=value file, with key being the techniqueName
# or techniqueName/version and the value being the name to use.
# An empty value will lead to an empty default name.
# For a new Directive, we will try to lookup "TechniqueName/version" and if not
# available "TechniqueName" from this file. If neither key is available, the
# pop-up will use the actual Technique name as default.
# Don't forget to commit the file to have modifications seen by Rudder.
#

# Default pattern for new directive from "userManagement" technique:
userManagement=User: <name> Login: <login>
# For userManagement version 2.0, prefer that pattern in new Directives:
userManagement/2.0: User 2.0 [LOGIN]


Related issues 1 (1 open0 closed)

Related to Rudder - Enhancement #10415: All Directives based on core Techniques should get a default meaningful name at creationDiscussionActions
Actions #1

Updated by François ARMAND almost 8 years ago

  • Category set to System integration
Actions #2

Updated by François ARMAND almost 8 years ago

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

Updated by François ARMAND almost 8 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Alexis Mousset
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/1128
Actions #4

Updated by François ARMAND almost 8 years ago

  • Related to Enhancement #10415: All Directives based on core Techniques should get a default meaningful name at creation added
Actions #5

Updated by François ARMAND almost 8 years ago

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

Updated by Vincent MEMBRÉ over 7 years ago

  • Status changed from Pending release to Released
  • Priority set to 0

This bug has been fixed in Rudder 4.0.4 and 4.1.1 which were released today.

Actions

Also available in: Atom PDF