Sha256: 2cceb263c4684d75c70c57d9abc013ab76bf2ec9383ab8ee093b2ef8039d0bf1
Contents?: true
Size: 468 Bytes
Versions: 143
Compression:
Stored size: 468 Bytes
Contents
require 'facter' require 'puppet/util/feature' Puppet.features.add :cfacter do Puppet.deprecation_warning("The cfacter setting is deprecated. You can use Facter 3 and higher without this setting.") begin require 'cfacter' # The first release of cfacter didn't have the necessary interface to work with Puppet # Therefore, if the version is 0.1.0, treat the feature as not present CFacter.version != '0.1.0' rescue LoadError false end end
Version data entries
143 entries across 143 versions & 2 rubygems