diff options
author | Alexander Bokovoy <abokovoy@redhat.com> | 2011-10-10 15:25:15 +0300 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2011-10-24 15:10:11 +0200 |
commit | 25d5d7ed939384340c0aa7d00989cbddf4226bcd (patch) | |
tree | 3f738da9e1603b5577e1fb2a644b8a3c9a189162 /ipapython/platform/base.py | |
parent | f098b213eb3d2e8e5d47689a226f81a0d1b35262 (diff) | |
download | freeipa.git-25d5d7ed939384340c0aa7d00989cbddf4226bcd.tar.gz freeipa.git-25d5d7ed939384340c0aa7d00989cbddf4226bcd.tar.xz freeipa.git-25d5d7ed939384340c0aa7d00989cbddf4226bcd.zip |
Add support for systemd environments and use it to support Fedora 16
https://fedorahosted.org/freeipa/ticket/1192
Diffstat (limited to 'ipapython/platform/base.py')
-rw-r--r-- | ipapython/platform/base.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ipapython/platform/base.py b/ipapython/platform/base.py index f9d40997..99189a10 100644 --- a/ipapython/platform/base.py +++ b/ipapython/platform/base.py @@ -22,7 +22,7 @@ from ipalib.plugable import MagicDict # set them as in Red Hat distributions. Actual implementation should make them available # through knownservices.<name> and take care of remapping internally, if needed wellknownservices = ['certmonger', 'dirsrv', 'httpd', 'ipa', 'krb5kdc', 'messagebus', - 'nslcd', 'nscd', 'ntpd', 'portmap', 'rpcbind'] + 'nslcd', 'nscd', 'ntpd', 'portmap', 'rpcbind', 'kadmin'] class AuthConfig(object): """ @@ -120,25 +120,25 @@ class PlatformService(object): def restart(self, instance_name="", capture_output=True): return - def is_running(self): + def is_running(self, instance_name=""): return False def is_installed(self): return False - def is_enabled(self): + def is_enabled(self, instance_name=""): return False - def enable(self): + def enable(self, instance_name=""): return - def disable(self): + def disable(self, instance_name=""): return - def install(self): + def install(self, instance_name=""): return - def remove(self): + def remove(self, instance_name=""): return class KnownServices(MagicDict): |