From 6a879562b65c45673e607038f2b93d3249e584d2 Mon Sep 17 00:00:00 2001 From: Shaun Zinck Date: Wed, 23 Jan 2013 22:12:13 -0600 Subject: [PATCH] add pkgin to list of package managers in setup --- setup | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/setup b/setup index 07e4cdaf466..f4fa950e3ee 100644 --- a/setup +++ b/setup @@ -82,10 +82,11 @@ class Facts(object): # A list of dicts. If there is a platform with more than one # package manager, put the preferred one last. If there is an # 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/pacman', 'name' : 'pacman' } ] + PKG_MGRS = [ { 'path' : '/usr/bin/yum', 'name' : 'yum' }, + { 'path' : '/usr/bin/apt-get', 'name' : 'apt' }, + { 'path' : '/usr/bin/zypper', 'name' : 'zypper' }, + { 'path' : '/usr/bin/pacman', 'name' : 'pacman' }, + { 'path' : '/opt/local/bin/pkgin', 'name' : 'pkgin' } ] def __init__(self): self.facts = {}