add pacman to list of package managers in setup module

This commit is contained in:
John Gosset 2013-01-23 11:03:05 -05:00
parent a9e6ce97a3
commit a858d1a816

3
setup
View file

@ -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 = {}