Fix uninitialized distribution fact on FreeBSD (#15842)
Initialize facts['distribution'] with self.system so that this fact does not remain uninitialized on systems_platform_working platforms (FreeBSD, OpenBSD). Fixes #15841
This commit is contained in:
parent
043e910652
commit
a2c905c32e
1 changed files with 1 additions and 0 deletions
|
@ -660,6 +660,7 @@ class Distribution(object):
|
|||
# The platform module provides information about the running
|
||||
# system/distribution. Use this as a baseline and fix buggy systems
|
||||
# afterwards
|
||||
self.facts['distribution'] = self.system
|
||||
self.facts['distribution_release'] = platform.release()
|
||||
self.facts['distribution_version'] = platform.version()
|
||||
|
||||
|
|
Loading…
Reference in a new issue