Project

General

Profile

Actions

User story #3112

closed

Allow to get informations from the node inventory to use them in Directives and ncf techniques

Added by Nicolas PERRON over 11 years ago. Updated over 4 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Config management
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Reviewed
Fix check:
Checked
Regression:

Description

We should be able to use the informations from the inventories in the Directives. This is not the case now, then we have no way to make a symlink from /usr/src/linux to /usr/src/linux-number-of-kernel, for example.

In the inventory, we have informations like:
  • Hostname
  • OS name, version, SP
  • ips
  • RAM Memory
  • Kernel Version
  • policy server id
  • local administrator name
  • architecture description
  • timezone

They be made available in JSON, and used with variable ${node.inventory}, like ${node.inventory[os][name]}

Issue is: how do we differentiate all ips (we have simply a list)


Subtasks 1 (0 open1 closed)

User story #15406: Update system technique to use new variable for inventory informationReleasedAlexis MoussetActions

Related issues 11 (0 open11 closed)

Related to Rudder - User story #5278: Document allowed ${rudder.variable} in directive formResolvedActions
Related to Rudder - User story #5225: Allow to use environment variable from node inventory in directive rudder variablesReleasedNicolas CHARLES2014-07-07Actions
Related to Rudder - User story #5449: Make environment variables accessible as parameter in all TechniquesReleased2014-10-14Actions
Related to Rudder - User story #5506: Customize Nodes by adding attribute on themReleasedFrançois ARMAND2014-11-27Actions
Related to Rudder - Bug #6125: We can define key-values on nodes, but we can't use it in the directivesRejectedFrançois ARMAND2015-01-14Actions
Related to Rudder - User story #6733: Allow Node properties to be used in directives and ncf techniquesReleased2016-07-20Actions
Related to Rudder - User story #8022: Allow users to specify node hostname (FQDN)ReleasedAlexis MoussetActions
Related to Rudder - User story #4054: Special cfengine variables vs. special Rudder variablesRejected2013-10-11Actions
Related to Rudder - Question #10450: Use node inventory data in directives? With substring syntax?ResolvedActions
Related to Rudder - User story #4670: Allows inventories to be augmented by the user with custom propertiesReleasedFrançois ARMANDActions
Related to Rudder - Bug #13671: Missing node state variable expansion in directiveReleasedFrançois ARMANDActions
Actions

Also available in: Atom PDF