From 54ef6015f6a61aeb0eb71b43cc6993443d23db92 Mon Sep 17 00:00:00 2001 From: John Gosset Date: Wed, 23 Jan 2013 11:03:05 -0500 Subject: [PATCH] add pacman to list of package managers in setup module --- library/setup | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/setup b/library/setup index aa54f87a300..07e4cdaf466 100644 --- a/library/setup +++ b/library/setup @@ -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 = {}