3 Commits

Author SHA1 Message Date
ZhongShengping
c54428f524 Add hooks for external install & svc management
This adds defined anchor points for external modules to hook into the
software install, config and service dependency chain.  This allows
external modules to manage software installation (virtualenv,
containers, etc) and service management (pacemaker) without needing rely
on resources that may change or be renamed.

Change-Id: If4f585264f5f5a15549855d97b532866d91f5215
2016-12-07 16:49:58 +08:00
Alex Schultz
366deb93cb Switch zaqar to use rspec-puppet-facts
This change updates the tests to use rspec-puppet-facts. Additionally
this change fixes the relationship in zaqar::server_instance for Debian
based systems.

Change-Id: I03ce4ee17feec1f0ea7012ea116c9c12cf3bde5f
2016-02-18 21:35:02 -07:00
Dan Prince
e9b736c8eb Add zaqar::server_instance class.
This class manages N instances of zaqar-server each using an
alternate /etc/zaqar/n.conf file to control select service
settings which take priority over settings in /etc/zaqar/zaqar.conf.

The primary use case for this class would be to enable websockets
alongside of wsgi. The only way to do this with Zaqar today is
to run multiple processes.

Change-Id: Ib730206ece73efe57aca7df4a65c906e95cdd606
2016-02-17 08:23:57 -05:00