MOON
Server: Apache
System: Linux server2.shieldcogroup.com 3.10.0-1160.119.1.el7.tuxcare.els12.x86_64 #1 SMP Fri Nov 8 05:49:38 UTC 2024 x86_64
User: jacom (1029)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //etc/leapp/repos.d/system_upgrade/el7toel8/actors/spamassassinconfigupdate/actor.pyc
�
��ic@s`ddlmZddlmZddlmZddlmZmZdefd��YZ	dS(i����(tActor(tspamassassinconfigupdate(tSpamassassinFacts(tApplicationsPhaseTagtIPUWorkflowTagtSpamassassinConfigUpdatecBs8eZdZdZefZdZeefZ	d�Z
RS(sK
    This actor performs several modifications to spamassassin configuration
    so that spamc and the spamassassin systemd service can be run without error
    on the target system:
    1. Remove arguments given to the --ssl option in spamc configuration
       (/etc/mail/spamassassin/spamc.conf).
    2. Remove --ssl-version options from the spamassassin sysconfig file
       (/etc/sysconfig/spamassassin), or replace them with --ssl, if needed.
    3. Remove the -d/--daemonize option from the spamassassin sysconfig file.

    All files are backed up before they are modified.
    tspamassassin_config_updatecCsBt|jt�d�}|r.tj|�n|jjd�dS(NsDSkipping execution - no SpamassassinFacts message has been produced.(tnexttconsumeRtNoneRtmigrate_configstlogtdebug(tselftfacts((si/usr/share/leapp-repository/repositories/system_upgrade/el7toel8/actors/spamassassinconfigupdate/actor.pytprocesss((t__name__t
__module__t__doc__tnameRtconsumestproducesRRttagsR(((si/usr/share/leapp-repository/repositories/system_upgrade/el7toel8/actors/spamassassinconfigupdate/actor.pyRs	N(
tleapp.actorsRtleapp.libraries.actorRtleapp.modelsRt
leapp.tagsRRR(((si/usr/share/leapp-repository/repositories/system_upgrade/el7toel8/actors/spamassassinconfigupdate/actor.pyt<module>s