[rudder-users] Variables in Rudder

Matthieu CERDA matthieu.cerda at normation.com
Fri Feb 21 00:32:17 CET 2014


Le 19/02/2014 20:15, diogo at diogoleal.com a écrit :
> Hello,
>
> I have a problem in viewing an environment variable in Rudder.
> I created the file /etc/profile.d/confs.sh with the following content:
>
> export TYPESERVER=web
>
> But I can not see the value of $TYPESERVER by RUDDER.
>
> How can I do to use this variable in creating dynamic groups?
>
>
> Diogo Leal [estranho]
> http://diogoleal.com
> talk: estranho at jabber-br.org
Hello Diogo,

I do think this is a limitation in the way the variables are inserted in 
the inventory, it seems the script running the inventory is not trying 
to get variables from the /etc/profile system.

I'll test a fix to remove this limitation and come back to you when it's 
working !

In the meantime, I created a ticket to trace the issue: 
http://www.rudder-project.org/redmine/issues/4493

Regards,
--
Matthieu CERDA


More information about the rudder-users mailing list