Chkconfig: Use get_bootstatus

The get_bootstatus method has the correct logic to get the desired
result when bootstatus is unset.

Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Plugins/Metadata: fix resolution for ipv4-in-ipv6 addresses like ::ffff:127.0.0.1
Metadata: Make pylint happy

Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
TestMetadata: Update tests for resolve_client

Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Opitons: add cook function to parse a dict for the config file
Options: add database.options

With the options setting in the database section of the config file
various database options for the django database could be set (like
ssl mode for postgres). For more information, consult your django
databse backend module's documentation.
Plugins/Packages: add missing format string parameter
Merge pull request #105 from AlexanderS/missing-format-string-parameter

Plugins/Packages: add missing format string parameter
Revert "Avoid use of lxml-only getparent()"

This reverts commit 38f55b6257ce51b1cf65ecb3d980d7528c1b53ff.
Client/Frame: avoid use of lxml-only getparent()

getparent is not supported by xml.etree so try to emulate it
with a generated parent_map. This is the only possibility, because
xml.etree does not store references to the parent elements.
Merge branch 'python-pre27-compat' of https://github.com/AlexanderS/bcfg2 into maint
bcfg2.spec: Remove unnecessary lxml dependency

Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Info: make builddir add owner write permissions to all files

Since bcfg2-info isn't normally run as root, it can remove write
permissions from itself in certain situations.  This patch ensures
that owner write is added to the mode for all files written by
builddir.

For example, suppose a bundle specifies a file /etc/foo/private
with mode 0444.  The POSIX tool will create /etc/foo with mode
0555.  Any subsequent files that are specified to exist in
/etc/foo will not be created because bcfg2-info will hit a
permission denied error.
Executor: do not split the command line if shell is true

If the command should be excuted within a shell, it should not be
splited into a list. If subcommand.Popen gets a list, the first element
is the command and all other are the arguements. This breaks the shell
evaluation of the commamnd.
Make pylint happy
Merge branch 'django-db-options' of https://github.com/AlexanderS/bcfg2 into maint
Options: Fix typos

Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
debian: cherrypy3 is required

Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Revert "Make pylint happy"

This reverts commit 8f4a8d386f6f2988de08e686f04c457a62189dfd.
Revert "Info: make builddir add owner write permissions to all files"

This reverts commit ab62481b597edcc099811039f7fd60743353d979.