Displaying 1 result from an estimated 1 matches for "ks_facts".
Did you mean:
is_fact
2009 Jul 01
1
Facter infinite looping on custom facts
...adfacts(), which
keep trying to load the same file AAA_site_facts.rb
Then, I rename the files back to the original names without the prefix:
# ls -1
dc_loc.rb
facts.rb
and facter runs OK.
So, I think, maybe something in the file name - so I rename them as their
roles have evolved:
# mv dc_loc.rb ks_facts.rb
# mv facts.rb site_facts.rb
# ls -1
ks_facts.rb
site_facts.rb
now facter infinitely loops again.
So, I think maybe it is the order of the files in the directory, and rename
them:
# mv ks_facts.rb 002-ks_facts.rb
# mv site_facts.rb 001-site_facts.rb
# ls -1
001-site_facts.rb
002-ks_facts.rb
an...