Merge pull request #1897 from qjcg/pacman-pkg-mgr

Add pacman to list of package managers in setup module
pull/1899/head
Daniel Hokka Zakrisson 12 years ago
commit b8d0638449

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