diff options
author | Sol Jerome <solj@ices.utexas.edu> | 2010-03-13 13:10:06 -0600 |
---|---|---|
committer | Sol Jerome <solj@ices.utexas.edu> | 2010-03-13 13:10:06 -0600 |
commit | 41858f6c26343684a827e4bf2ddae3d0dd58a1eb (patch) | |
tree | 5cfcc0d28e6c4e6cdc7c3941b7af6e0ba1f320c4 /src/lib/Client/Tools/__init__.py | |
parent | 7c67a0dbf082a1e71a4434898bee2c4602fed7aa (diff) | |
download | bcfg2-41858f6c26343684a827e4bf2ddae3d0dd58a1eb.tar.gz bcfg2-41858f6c26343684a827e4bf2ddae3d0dd58a1eb.tar.bz2 bcfg2-41858f6c26343684a827e4bf2ddae3d0dd58a1eb.zip |
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/<servicename>.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 <solj@ices.utexas.edu>
Diffstat (limited to 'src/lib/Client/Tools/__init__.py')
-rw-r--r-- | src/lib/Client/Tools/__init__.py | 23 |
1 files changed, 20 insertions, 3 deletions
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']] |