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

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

Add pacman to list of package managers in setup module
This commit is contained in:
Daniel Hokka Zakrisson 2013-01-23 08:45:18 -08:00
commit b8d0638449

View file

@ -84,7 +84,8 @@ class Facts(object):
# ansible module, use that as the value for the 'name' key.
PKG_MGRS = [ { 'path' : '/usr/bin/yum', 'name' : 'yum' },
{ '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):
self.facts = {}