Displaying 1 result from an estimated 1 matches for "facter_vari".
2010 Sep 07
2
Environmental Variables
...orks
correctly. However after reboot puppet doesn''t read /etc/profile and starts
without this profile.
If I go into server and do services puppet restart than everything works
fine, since I am running this from an interactive login.
This also doesn''t work with the trick of doing FACTER_Variable= because
again /etc/profile isn''t being parsed so..
I tried to use "environment" in the exec class but it appears that I can''t
use script to set this variable.. i.e.
environment=`cat /etc/redhat-release | awk ''{print $7}''`
because puppet takes ab...