(#2157) Make facts_dot_d compatible with external facts

Since facts_dot_d will eventually be removed and replaced by
external facts, warn users who are using a ttl on their external
facts that this feature will not be in Facter external facts.

Provide a link to a page explaining how to cache fact values
without the ttl functionality.
This commit is contained in:
Hailee Kenney 2012-07-10 15:24:33 -07:00
parent d32115979d
commit 5fb0ddcf78

View file

@ -94,6 +94,7 @@ class Facter::Util::DotD
cache_save!
end
else
Puppet.deprecation_warning("TTL for external facts is being removed. See http://links.puppetlabs.com/factercaching for more information.")
Facter.debug("Using cached data for #{file}")
end