1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Conflicts:

library/setup
This commit is contained in:
Ton Kersten 2013-02-20 08:42:04 +01:00 committed by Michael DeHaan
parent 4d67608a10
commit cf23d64a88

View file

@ -160,7 +160,7 @@ class Facts(object):
#
'Mandriva' : 'Mandrake',
'Mandrake' : 'Mandrake',
#
#
'Solaris' : 'Solaris',
'Nexenta' : 'Solaris',
'OmniOS' : 'Solaris',
@ -168,7 +168,7 @@ class Facts(object):
'SmartOS' : 'Solaris',
#
'AIX' : 'AIX'
}
}
if self.facts['system'] == 'AIX':
self.facts['distribution'] = 'AIX'
@ -201,9 +201,9 @@ class Facts(object):
self.facts['distribution'] = name
# Find the family
self.facts['osfamily'] = self.facts['distribution']
if self.facts['distribution'] in OSFAMILY:
self.facts['osfamily'] = OSFAMILY[self.facts['distribution']]
self.facts['osfamily'] = self.facts['distribution']
if self.facts['distribution'] in OSFAMILY:
self.facts['osfamily'] = OSFAMILY[self.facts['distribution']]
def get_cmdline(self):
data = get_file_content('/proc/cmdline')