add pacman to list of package managers in setup module

reviewable/pr18780/r1
John Gosset 12 years ago
parent a9e6ce97a3
commit a858d1a816

@ -84,7 +84,8 @@ class Facts(object):
# ansible module, use that as the value for the 'name' key. # ansible module, use that as the value for the 'name' key.
PKG_MGRS = [ { 'path' : '/usr/bin/yum', 'name' : 'yum' }, PKG_MGRS = [ { 'path' : '/usr/bin/yum', 'name' : 'yum' },
{ 'path' : '/usr/bin/apt-get', 'name' : 'apt' }, { 'path' : '/usr/bin/apt-get', 'name' : 'apt' },
{ 'path' : '/usr/bin/zypper', 'name' : 'zypper' } ] { 'path' : '/usr/bin/zypper', 'name' : 'zypper' },
{ 'path' : '/usr/bin/pacman', 'name' : 'pacman' } ]
def __init__(self): def __init__(self):
self.facts = {} self.facts = {}

Loading…
Cancel
Save