mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-08-03 01:49:22 -05:00
Add absolute_import from __future__ so that pylint does not fail and to achieve python3 behavior in python2. Reviewed-By: Christian Heimes <cheimes@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
28 lines
704 B
Python
28 lines
704 B
Python
#
|
|
# Copyright (C) 2017 FreeIPA Contributors see COPYING for license
|
|
#
|
|
|
|
'''
|
|
This Debian family platform module exports platform dependant constants.
|
|
'''
|
|
|
|
# Fallback to default path definitions
|
|
from __future__ import absolute_import
|
|
|
|
from ipaplatform.base.constants import BaseConstantsNamespace
|
|
|
|
|
|
class DebianConstantsNamespace(BaseConstantsNamespace):
|
|
HTTPD_USER = "www-data"
|
|
NAMED_USER = "bind"
|
|
NAMED_GROUP = "bind"
|
|
# ntpd init variable used for daemon options
|
|
NTPD_OPTS_VAR = "NTPD_OPTS"
|
|
# quote used for daemon options
|
|
NTPD_OPTS_QUOTE = "\'"
|
|
ODS_USER = "opendnssec"
|
|
ODS_GROUP = "opendnssec"
|
|
SECURE_NFS_VAR = "NEED_GSSD"
|
|
|
|
constants = DebianConstantsNamespace()
|