ipa-client-automount: Add the autofs service if it doesn't exist yet
https://fedorahosted.org/freeipa/ticket/3201
This commit is contained in:
1 parent
fb7575d6b7
commit
5e79743a0b
1 file changed
+3
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user