You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,10 +78,9 @@ end
78
78
79
79
## Specifying a default Facter version
80
80
81
-
By default, `on_supported_os` will return the facts for the version of Facter
82
-
that it has loaded (usually this is Facter 2.5.1). This behaviour can be
83
-
overridden by setting the `default_facter_version` RSpec setting in your
84
-
`spec/spec_helper.rb` file.
81
+
By default, `on_supported_os` will return the facts for the version of Facter that it has loaded. It will check for the loaded Puppet version and maps that to the Facter version that Perforce released in the matching AIO.
82
+
The mapping is stored in `ext/puppet_agent_components.json` (check the [maintenance](#maintenance) section for details) and computated in the `facter_version_for_puppet_version` method.
83
+
This behaviour can be overridden by setting the `default_facter_version` RSpec setting in your `spec/spec_helper.rb` file.
0 commit comments