Bcfg2/bcfg2 — pull request #67 by fennm (2013-03-29 14:52:17+00:00)
Title: Update bcfg2-info OptionParser to use client options

bcfg2-info uses CLI_COMMON_OPTIONS which is a subset of the
full CLIENT_COMMON_OPTIONS that the bcfg2 client uses. This causes
bcfg2-info to fail on the builddir comand with the following traceback

> builddir drdws0056.nyc.desres.deshaw.com /tmp/drdws0056
Command failure
Traceback (most recent call last):
File "/usr/sbin/bcfg2-info", line 157, in do_loop
self.cmdloop('Welcome to bcfg2-info\n'
File "/usr/lib64/python2.4/cmd.py", line 142, in cmdloop
stop = self.onecmd(line)
File "/usr/lib64/python2.4/cmd.py", line 219, in onecmd
return func(arg)
File "/usr/sbin/bcfg2-info", line 283, in do_builddir
client_config)
File "/usr/lib/python2.4/site-packages/Bcfg2/Client/Tools/POSIX/__init__.py", line 19, in __init__
self.ppath = setup['ppath']
KeyError: 'ppath'

ppath is included in CLIENT_COMMON_OPTIONS, but not CLI_COMMON_OPTIONS
so this commit changes bcfg2-info to parse the fuller
CLIENT_COMMON_OPTIONS.