Add get_distribution_Archlinux (#15696)

This commit is contained in:
James Pic 2016-05-03 17:20:08 +02:00 committed by Toshio Kuratomi
parent fff94551a1
commit d72a03deae

View file

@ -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