Displaying 1 result from an estimated 1 matches for "site_facts".
2009 Jul 01
1
Facter infinite looping on custom facts
...t/facter/lib/facter/util/collection.rb:90:in
`load_all''
from /apps/puppet/facter/lib/facter.rb:91:in `to_hash''
from /apps/puppet/facter/bin/facter:138
So, as we can see, line 22 of AAA_facts.rb is the rescue loadfacts(), 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_...