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

accidentally 'fixes' ubuntu distribution parsing, this order should not matter, need followup to figure out why this is the case

This commit is contained in:
Brian Coca 2015-04-28 10:16:14 -04:00
parent 4205d74b11
commit 6a8062baad
2 changed files with 4 additions and 4 deletions

View file

@ -99,8 +99,8 @@ class Facts(object):
('/etc/os-release', 'SuSE'),
('/etc/gentoo-release', 'Gentoo'),
('/etc/os-release', 'Debian'),
('/etc/lsb-release', 'Mandriva'),
('/etc/os-release', 'NA') )
('/etc/os-release', 'NA'),
('/etc/lsb-release', 'Mandriva'))
SELINUX_MODE_DICT = { 1: 'enforcing', 0: 'permissive', -1: 'disabled' }
# A list of dicts. If there is a platform with more than one

View file

@ -99,8 +99,8 @@ class Facts(object):
('/etc/os-release', 'SuSE'),
('/etc/gentoo-release', 'Gentoo'),
('/etc/os-release', 'Debian'),
('/etc/lsb-release', 'Mandriva'),
('/etc/os-release', 'NA') )
('/etc/os-release', 'NA'),
('/etc/lsb-release', 'Mandriva'))
SELINUX_MODE_DICT = { 1: 'enforcing', 0: 'permissive', -1: 'disabled' }
# A list of dicts. If there is a platform with more than one