From 41858f6c26343684a827e4bf2ddae3d0dd58a1eb Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Sat, 13 Mar 2010 13:10:06 -0600 Subject: Upstart: Add new upstart client tool Due to the nature of the way Upstart handles service specification, turning 'servicename' off and on can be done via a configuration file located at /etc/init/.conf. Enabling a disabled service can be done by making sure that the Upstart configuration file and the service are bundled together. Signed-off-by: Sol Jerome --- src/lib/Client/Tools/__init__.py | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) (limited to 'src/lib/Client/Tools/__init__.py') diff --git a/src/lib/Client/Tools/__init__.py b/src/lib/Client/Tools/__init__.py index d25219579..33a0e19c1 100644 --- a/src/lib/Client/Tools/__init__.py +++ b/src/lib/Client/Tools/__init__.py @@ -1,9 +1,26 @@ '''This contains all Bcfg2 Tool modules''' __revision__ = '$Revision$' -__all__ = ["Action", "APT", "Blast", "Chkconfig", "DebInit", "Encap", "IPS", - "FreeBSDInit", "FreeBSDPackage", "launchd", "MacPorts", "Portage", - "POSIX", "RPMng", 'rpmtools', "RcUpdate", "SMF", "SYSV", "YUMng"] +__all__ = ["Action", + "APT", + "Blast", + "Chkconfig", + "DebInit", + "Encap", + "IPS", + "FreeBSDInit", + "FreeBSDPackage", + "launchd", + "MacPorts", + "Portage", + "POSIX", + "RPMng", + "rpmtools", + "RcUpdate", + "SMF", + "SYSV", + "Upstart", + "YUMng"] drivers = [item for item in __all__ if item not in ['rpmtools']] default = [item for item in drivers if item not in ['RPM', 'Yum']] -- cgit v1.2.3-1-g7c22