mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-25 16:31:08 -06:00
a8fdb8de82
Add class hierarchy which allows inherting knob definitions between the various client and server install scripts. https://fedorahosted.org/freeipa/ticket/6392 Reviewed-By: Martin Basti <mbasti@redhat.com>
28 lines
614 B
Python
28 lines
614 B
Python
#
|
|
# Copyright (C) 2016 FreeIPA Contributors see COPYING for license
|
|
#
|
|
|
|
"""
|
|
Automount installer module
|
|
"""
|
|
|
|
from ipalib.install import service
|
|
from ipalib.install.service import enroll_only
|
|
from ipapython.install.core import knob
|
|
|
|
|
|
class AutomountInstallInterface(service.ServiceInstallInterface):
|
|
"""
|
|
Interface of the automount installer
|
|
|
|
Knobs defined here will be available in:
|
|
* ipa-client-install
|
|
* ipa-client-automount
|
|
"""
|
|
|
|
automount_location = knob(
|
|
str, 'default',
|
|
description="Automount location",
|
|
)
|
|
automount_location = enroll_only(automount_location)
|