> I am trying to read a variable that is within a file and make it a new
> 'fact'.
> This does not seem to be working at all. Results below.
> Is there a better way to do this?
I don't know from where the hell you have this way or why you do it that
complicated. Ever tried:
http://reductivelabs.com/trac/puppet/wiki/AddingFacts ???
greets pete
> I am trying to read a variable that is within a file and make it a new
> 'fact'.
> This does not seem to be working at all. Results below.
> Is there a better way to do this?
As Pete said, use custom facts.
You can't generate facts in the same run as you use them without
following the directions at AddingFacts -- clients determine their
fact list before the server ever starts compiling.
--
Progress isn't made by early risers. It's made by lazy men trying to
find easier ways to do something. --Robert Heinlein
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com