centos8 uses 'dandified yum'

This commit is contained in:
Ante de Baas
2020-05-31 12:47:28 +02:00
parent de061e7e36
commit 2524491883

View File

@@ -98,7 +98,7 @@ Alias "/.well-known/acme-challenge" "{{settings.system.letsencryptchallengepath}
<service type="dns" title="{{lng.admin.configfiles.dns}}"> <service type="dns" title="{{lng.admin.configfiles.dns}}">
<!--Bind9 --> <!--Bind9 -->
<daemon name="bind" title="Bind9 nameserver" default="true"> <daemon name="bind" title="Bind9 nameserver" default="true">
<install><![CDATA[yum install bind]]></install> <install><![CDATA[dnf install bind]]></install>
<command><![CDATA[ln -sv /etc/named /etc/bind]]></command> <command><![CDATA[ln -sv /etc/named /etc/bind]]></command>
<command><![CDATA[echo "include \"/etc/named.conf.local\";" >> /etc/named.conf]]></command> <command><![CDATA[echo "include \"/etc/named.conf.local\";" >> /etc/named.conf]]></command>
<command><![CDATA[echo "include \"{{settings.system.bindconf_directory}}froxlor_bind.conf\";" >> /etc/named.conf.local]]></command> <command><![CDATA[echo "include \"{{settings.system.bindconf_directory}}froxlor_bind.conf\";" >> /etc/named.conf.local]]></command>
@@ -125,7 +125,7 @@ Alias "/.well-known/acme-challenge" "{{settings.system.letsencryptchallengepath}
</command> </command>
</commands> </commands>
<installs index="1"> <installs index="1">
<install><![CDATA[yum install postfix]]></install> <install><![CDATA[dnf install postfix]]></install>
</installs> </installs>
<commands index="2"> <commands index="2">
<command><![CDATA[mkdir -p /var/spool/postfix/etc/pam.d]]></command> <command><![CDATA[mkdir -p /var/spool/postfix/etc/pam.d]]></command>
@@ -327,7 +327,7 @@ dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/libexec/dove
<!-- Dovecot --> <!-- Dovecot -->
<daemon name="dovecot" version="2.2" title="Dovecot" <daemon name="dovecot" version="2.2" title="Dovecot"
default="true"> default="true">
<install><![CDATA[yum install dovecot dovecot-mysql dovecot-pigeonhole]]></install> <install><![CDATA[dnf install dovecot dovecot-mysql dovecot-pigeonhole]]></install>
<file name="/etc/dovecot/dovecot.conf" chown="root:root" <file name="/etc/dovecot/dovecot.conf" chown="root:root"
chmod="0644" backup="true"> chmod="0644" backup="true">
<content><![CDATA[ <content><![CDATA[
@@ -1872,7 +1872,7 @@ iterate_query = SELECT username AS user FROM mail_users
<!-- Proftpd --> <!-- Proftpd -->
<daemon name="proftpd" version="1.3" title="ProFTPd" <daemon name="proftpd" version="1.3" title="ProFTPd"
default="true"> default="true">
<install><![CDATA[yum install proftpd proftpd-mysql]]></install> <install><![CDATA[dnf install proftpd proftpd-mysql]]></install>
<file name="/etc/proftpd.conf" chown="root:0" <file name="/etc/proftpd.conf" chown="root:0"
chmod="0600" backup="true"> chmod="0600" backup="true">
<content><![CDATA[ <content><![CDATA[
@@ -2349,8 +2349,8 @@ ControlsLog /var/log/proftpd/controls.log
<!-- libnss-mysql --> <!-- libnss-mysql -->
<daemon name="libnss" <daemon name="libnss"
title="libnss-mysql (required for FCGID/php-fpm/mpm-itk)"> title="libnss-mysql (required for FCGID/php-fpm/mpm-itk)">
<install><![CDATA[yum --enablerepo=extras install epel-release]]></install> <install><![CDATA[dnf --enablerepo=extras install epel-release]]></install>
<install><![CDATA[yum install libnss-mysql nscd]]></install> <install><![CDATA[dnf install libnss-mysql nscd]]></install>
<file name="/etc/libnss-mysql.cfg" chown="root:root" <file name="/etc/libnss-mysql.cfg" chown="root:root"
chmod="0600" backup="true"> chmod="0600" backup="true">
<content><![CDATA[ <content><![CDATA[
@@ -2451,7 +2451,7 @@ aliases: files nisplus
</daemon> </daemon>
<!-- Logrotate --> <!-- Logrotate -->
<daemon name="logrotate" title="Logrotate"> <daemon name="logrotate" title="Logrotate">
<install><![CDATA[yum install logrotate]]></install> <install><![CDATA[dnf install logrotate]]></install>
<file name="/etc/logrotate.d/froxlor" chown="root:root" <file name="/etc/logrotate.d/froxlor" chown="root:root"
chmod="0644"> chmod="0644">
<content><![CDATA[ <content><![CDATA[