(#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:
parent
d32115979d
commit
5fb0ddcf78
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue