Reporting: Log to debug to prevent spam in logs

Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Enable bcfg2-yum-helper to depsolve for arches incompatible with server

By default, the yum dependency resolver uses the host's architecture
to filter compatible packages.  This prevents dependency resolution
when the bcfg2 client's architecture is incompatible with the
server's.

This workaround checks the <Arch/> element for each of the client's yum
sources, and if they are all identical, passes that architecture to
bcfg2-yum-helper to override the default.

The rpmUtils.arch module may only be configured for a single
architecture.  If multiple architectures are configured in yum
sources, we don't know which one to pick, so use the default behavior
instead.
Merge pull request #164 from zultron/maint

Enable bcfg2-yum-helper to depsolve for arches incompatible with server
misc/bcfg2.spec Remove duplicate checks for systemd in RPM scriptlets

In the RPM scriptlets, there's first a check for fedora 18 or greater,
then if that's not true, a check for fedora 16 or greater.  Due to
some bug in how nested %if statements work in RPM scriptlets, the
second test is evaluating true even on non-Fedora systems, which is
leading to systemd commands being put in RHEL6 RPM scriptlets.

This change removes the second check.  If there needed to be a check
for versions of Fedora 16 and 17, they will no longer work, but since
neither of those are supported versions of Fedora, I suspect we don't
need to include logic for them.
misc/bcfg2.spec: Remove second, unnecessary %endif
misc/bcfg2.spec: Bumped release and added a changelog entry
Default to only (En|De)crypt vars that need it

For both Encrypting and Decrypting of Properties
files, we should by default only attempt to execute
on elements that have an "encrypted" attribute defined.

The code will already attempt to encrypt every element
if nothing in the current document matches this xpath,
which catches the case of a user trying to fully
encrypt a completely new properties file.
reduce logging from failed decryption with decrypt=lax
do not bruteforce Properties decrypts with unknown passphrase

this greatly decreases startup time with lots of data encrypted with
missing passphrases
Merge pull request #166 from cbrinker/master

Default to only (En|De)crypt vars that need it
Default to only (En|De)crypt vars that need it

For both Encrypting and Decrypting of Properties
files, we should by default only attempt to execute
on elements that have an "encrypted" attribute defined.

The code will already attempt to encrypt every element
if nothing in the current document matches this xpath,
which catches the case of a user trying to fully
encrypt a completely new properties file.

Conflicts:
	src/lib/Bcfg2/Server/Encryption.py
fixed pylint/pep-8 tests
testsuite: more unit test fixes
Merge branch 'maint'

Conflicts:
	misc/bcfg2.spec
	src/lib/Bcfg2/Client/Client.py
	src/lib/Bcfg2/Client/Tools/APK.py
	src/lib/Bcfg2/Client/Tools/MacPorts.py
	src/lib/Bcfg2/Client/Tools/Pacman.py
	src/lib/Bcfg2/Client/Tools/YUM.py
	src/lib/Bcfg2/Server/Admin/Minestruct.py
	src/lib/Bcfg2/Server/Admin/Pull.py
	src/lib/Bcfg2/Server/Admin/Viz.py
	src/lib/Bcfg2/Server/Core.py
	src/lib/Bcfg2/Server/Plugins/Cfg/CfgEncryptedGenerator.py
	src/lib/Bcfg2/Server/Plugins/Cfg/CfgPrivateKeyCreator.py
	src/lib/Bcfg2/Server/Plugins/Properties.py
	src/lib/Bcfg2/settings.py
	src/sbin/bcfg2-crypt
	src/sbin/bcfg2-info
	src/sbin/bcfg2-lint
	src/sbin/bcfg2-yum-helper
	testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestCfg/TestCfgEncryptedGenerator.py
	testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProperties.py
Cfg: py3k fix

Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
DjangoORM: Add missing import

Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
more unit test fixes
Packages/Pkgng: add new pkgng packages plugin
Client/Tools/Pkgng: add client tool for pkgng
Packages: add some docs about the supported clients