You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.0 KiB

9 months ago
from leapp.models import fields, Model
from leapp.topics import SystemInfoTopic
class CupsChangedFeatures(Model):
topic = SystemInfoTopic
interface = fields.Boolean(default=False)
"""
True if interface scripts are used, False otherwise
"""
digest = fields.Boolean(default=False)
"""
True if Digest/BasicDigest directive values are used, False otherwise
"""
include = fields.Boolean(default=False)
"""
True if Include directive is used, False otherwise
"""
certkey = fields.Boolean(default=False)
"""
True if ServerKey/ServerCertificate directives are used, False otherwise
"""
env = fields.Boolean(default=False)
"""
True if PassEnv/SetEnv directives are used, False otherwise
"""
printcap = fields.Boolean(default=False)
"""
True if PrintcapFormat directive is used, False otherwise
"""
include_files = fields.List(fields.String(), default=['/etc/cups/cupsd.conf'])
"""
Paths to included files, contains /etc/cups/cupsd.conf by default
"""