Displaying 1 result from an estimated 1 matches for "soe_build_date".
2009 Mar 05
2
Exposing environment variables to Facter
Hey gang,
During the build of our Linux (EL4 and EL5) images, the kickstart
process writes out a file (/etc/sysconfig/soe) that contains:
SOE_VERSION="Version string"
SOE_BUILD_DATE="2009-03-06"
I then have /etc/profile.d/facter.sh scripts that has this:
. /etc/sysconfig/puppet
. /etc/sysconfig/soe
FACTER_PUPPETMASTER=$PUPPET_SERVER
FACTER_SOE_VERSION=$SOE_VERSION
FACTER_SOE_BUILD_DATE=$SOE_BUILD_DATE
If I login, obviously the profile is loaded, the envvars are cr...