Displaying 1 result from an estimated 1 matches for "dc_loc".
Did you mean:
dc_lo
2009 Jul 01
1
Facter infinite looping on custom facts
...e on the
server.
# ruby -v
ruby 1.8.7 (2009-04-08 patchlevel 160) [i686-linux]
# facter -v
1.5.5
RUBYLIB=/apps/puppet/puppet/lib:/apps/puppet/facter/lib:/data/puppet/lib
I have 2 custom Ruby fact files in /data/puppet/lib/facter which follow
http://reductivelabs.com/trac/puppet/wiki/AddingFacts
dc_loc.rb (http://pastie.org/530294) - reads a file generated during a
kickstart with the Kickstart environment in name=value pairs and makes them
facts. Generates the important "location" fact.
facts.rb (http://pastie.org/530296) - Uses the "location" fact to load up
location specifi...