Merge pull request #22 from beav/no-consumer-cache

remove consumer cache
Merge pull request #23 from beav/small-fixups

Small fixups
Automatic commit of package [katello_notification] release [0.0.8-1].
Merge pull request #24 from beav/stopped

pull list of guests from SW before pushing new guest
support autoregistration of hypervisors

Some hypervisors cannot register themselves with subscription-manager. If
autoregister_hypervisors is set in katello_notification.conf, register on
behalf of these hypervisors when they are detected.
Merge pull request #25 from beav/autoreg

support autoregistration of hypervisors
autoregistration of spacewalk hypervisors
oops, forgot to make param out of hardcoded value
use profile name instead of hostname

Previously, we were using hostname to look up hypervisors. This resulted in a
large window for race conditions, since new hypervisors to get picked up by
spacewalk search. Other attempts to find the hypervisor woudl fail and result
in lots of new hypervisors being created.

This patch tightens the race condition window significantly by only relying on
DB operations, but it still exists.
hack for registration race condition, and convert str to int
fix stylish and tests
Merge pull request #26 from beav/autoreg-sw

Autoreg sw
Automatic commit of package [katello_notification] release [0.0.9-1].
Merge pull request #27 from beav/systemd

systemd support
systemd support
Merge pull request #28 from beav/new-conns

New conns
use correct init.d script name
initialize a new connection per-use

Previously, I was initializing a spacewalk connection at startup and reusing it
for all calls. This didn't work since katello_notification is a long running
process; spacewalk would reap the session and we'd get errors like this:

Fault: <Fault -1: 'redstone.xmlrpc.XmlRpcFault: unhandled internal exception: Could not find session with id: 53'>

Instead, create a new connection every time we want to talk to spacewalk. I
verified with 'lsof' that this does not keep old connections open.
rewrite to use oslo.messaging libs

this also changed some logger stuff
put sleep back in, and stylish