From 5e79743a0b253b10e4530ab12e9395638f49db71 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Thu, 25 Oct 2012 19:59:21 +0200 Subject: ipa-client-automount: Add the autofs service if it doesn't exist yet https://fedorahosted.org/freeipa/ticket/3201 --- ipa-client/ipa-install/ipa-client-automount | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ipa-client/ipa-install/ipa-client-automount b/ipa-client/ipa-install/ipa-client-automount index d9a63e7ee..7ea69ec12 100755 --- a/ipa-client/ipa-install/ipa-client-automount +++ b/ipa-client/ipa-install/ipa-client-automount @@ -154,6 +154,9 @@ def configure_autofs_sssd(fstore, statestore, autodiscover, options): except Exception, e: sys.exit(e) + if 'autofs' not in sssdconfig.list_services(): + sssdconfig.new_service('autofs') + try: sssdconfig.activate_service('autofs') except SSSDConfig.NoServiceError: -- cgit