bcfg2-reports: update to use current models
Revert "Probes: Fix failing nosetests"

This reverts commit 4f745cc2731f7035f02566ba8bc1a0e9ae1b1a71.

This breaks handling of unicode on python 2.
Probes: Fix unicode probe handling

Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Probes: Disable builtin redefinition check

Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
POSIX: Fix unicode file verification

Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
POSIX: Fix pylint failure

Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
sort the lists of Groups and Bundles in the output of bcfg2-info showclient
Client: Don't modify running services if ignored

Previously, when a bundle's contents were updated, all services listed
in the bundle were stopped if the status attribute was set to 'ignore'.

Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
ensure that bundles list correctly for clients with 1/many bundles
Metadata: log now client creation with profile
tools: added git_commit.py script
Metadata: metadata generation improvements

Primarily, this fixes a few potential bugs in initial metadata, which
may result in inconsistent ordering of groups, which can be a problem
when relying on category suppression.

This also deduplicates some category suppression code, and moves some
nested functions to top-level methods, which are surprisingly faster.
Metadata: search groups breadth-first when building metadata

This makes category negation consistent, and also makes it work like
it did in Bcfg2 1.2
Metadata: removed stray blank line
doc: updated pros/cons for builtin yum libraries
Reporting: have bcfg2-report-collector be explicit about detaching

Following the same logic as 360ba2e7, we should be explicit about
the need to detach the bcfg2-report-collector process.

Side note: this bit me because I was starting the bcfg2 server
processes via SSH, and the way python-daemon checks for being
started by inetd is to see if stdin is a socket. (??)
SELinux: Update the matchpathcon function to use the file's mode

If you don't supply a mode to the selinux.matchpathcon() function, it
fails to properly look up the context in some circumstances related to
context patterns in the SELinux policy.  This change looks up the mode
and supplies it to the function.
(cherry picked from commit 20a2c9a8fb6c6ecbed259b5deccb01c01bf3304f)
Metadata: Fix client list calls use list_clients() which is DB-aware instead of just self.clients
Merge pull request #138 from kincl/fix-query-clients-list

Metadata: Fix client list calls use list_clients() which is DB-aware instead of just self.clients
SSLServer: Poll for POST data correctly

This updates the do_POST() code to cleave more closely to the code in
SimpleXMLRPCHandler.do_POST (plus SSL magic, of course).  In doing so,
it eliminates a select() call whose timeouts were not handled
properly, and which thus left stray idle processes around after
incomplete XML-RPC calls.