Add get_distribution_Archlinux (#15696)
This commit is contained in:
parent
fff94551a1
commit
d72a03deae
1 changed files with 4 additions and 0 deletions
|
@ -780,6 +780,10 @@ class Distribution(object):
|
||||||
if release:
|
if release:
|
||||||
self.facts['distribution_release'] = release.groups()[0]
|
self.facts['distribution_release'] = release.groups()[0]
|
||||||
|
|
||||||
|
def get_distribution_Archlinux(self, name, data, path):
|
||||||
|
self.facts['distribution'] = 'Archlinux'
|
||||||
|
self.facts['distribution_version'] = data
|
||||||
|
|
||||||
def get_distribution_Alpine(self, name, data, path):
|
def get_distribution_Alpine(self, name, data, path):
|
||||||
self.facts['distribution'] = 'Alpine'
|
self.facts['distribution'] = 'Alpine'
|
||||||
self.facts['distribution_version'] = data
|
self.facts['distribution_version'] = data
|
||||||
|
|
Loading…
Reference in a new issue