[rudder-dev] rudder variables

Michael Gliwinski Michael.Gliwinski at henderson-group.com
Mon Apr 8 16:14:09 CEST 2013


On Monday 08 Apr 2013 12:44:32 Nicolas Charles wrote:
> There two types of Rudder Variables :
> - variables refering to the node : they allow to access to simple info
> about the current node, based on the inventory
>          ${rudder.node.id} : uuid of the node
>          ${rudder.node.hostname} : hostname of the node
>          ${rudder.node.admin} : login of administrator of the node
>    and also for it policy server :
>           ${rudder.node.policyserver.ACCESSOR}, where ACCESSOR can be
> id, hostname, or admin
> - variables refering to variables defined in other Rule :
> ${rudder.rule_id.VARIABLE_NAME} will look in the rule with id rule_id
> for the value of the variable VARIABLE_NAME (as defined in the Technique)

Aha, I knew there must be a way of referencing data from inventory! :D  Cool!  
Is there a list of names somewhere (I can check the source)?

Regarding ${rudder.rule_id.VARIABLE_NAME}, are these internal?  I thought you 
only define values in directives?


**********************************************************************************************
The information in this email is confidential and may be legally privileged.  It is intended solely for the addressee and access to the email by anyone else is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful.
When addressed to our clients, any opinions or advice contained in this e-mail are subject to the terms and conditions expressed  in the governing client engagement leter or contract.
If you have received this email in error please notify support at henderson-group.com

John Henderson (Holdings) Ltd
Registered office: 9 Hightown Avenue, Mallusk, County Antrim, Northern Ireland, BT36 4RT.
Registered in Northern Ireland
Registration Number NI010588
Vat No.: 814 6399 12
*********************************************************************************



More information about the rudder-dev mailing list