diff options
author | Alexander Bokovoy <abokovoy@redhat.com> | 2011-10-10 15:25:15 +0300 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2011-10-13 15:04:13 -0400 |
commit | 04ba21aaca9c376abab36cf75d764507a3b14802 (patch) | |
tree | 505d2b61d1731fe62a019e679df93ff6bf070893 /ipapython/platform/base.py | |
parent | 789b560a5786b02bd210f90c5b75b18b3ca609b3 (diff) | |
download | freeipa-04ba21aaca9c376abab36cf75d764507a3b14802.tar.gz freeipa-04ba21aaca9c376abab36cf75d764507a3b14802.tar.xz freeipa-04ba21aaca9c376abab36cf75d764507a3b14802.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 f9d409972..99189a101 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): |