dataset/seed/znc/dictionaries/40_znc.xml

46 lines
2.4 KiB
XML

<?xml version='1.0' encoding='UTF-8'?>
<rougail version="0.10">
<services>
<service name="znc" target="multi-user">
<override engine="none"/>
<certificate authority="External" owner="znc" type="server" domain="external_domain_name" provider="znc_crt_provider">znc</certificate>
<file mode="700" engine="ansible">/secrets/znc_passwords</file>
<file engine="none" source="sysuser-znc.conf">/sysusers.d/1znc.conf</file>
<file engine="ansible" source="tmpfile-znc.conf">/tmpfiles.d/0znc.conf</file>
<file engine="ansible" owner="znc" mode="640">/etc/znc/znc.conf</file>
</service>
</services>
<variables>
<family name="network">
<variable name="incoming_ports" redefine="True">
<value>5535</value>
</variable>
</family>
<family name="znc" description="IRC Bouncer ZNC">
<variable name="external_domain_name" type="domainname" description="Nom de domaine externe de ZNC" mandatory="True"/>
<variable name="znc_crt_provider" type="choice" description="Autorité de certification signant le certificat du domaine extérieur" mandatory="True">
<value>autosigne</value>
<choice>autosigne</choice>
<choice>letsencrypt</choice>
</variable>
<variable name="user_name" type="unix_user" description="Utilisateur IRC et ZNC" mandatory="True"/>
<variable name="user_password" type="password" description="Mot de passe de l'utilisateur ZNC" mandatory="True"/>
<variable name="real_name" description="Nom d'utilisateur réel" mandatory="True"/>
<family name="servers" description="Serveurs IRC" leadership="True">
<variable name="server_names" type="domainname" description="Adresse du serveur IRC" multi="True" mandatory="True"/>
<variable name="password" type="password" description="Mot de passe de l'utilisateur sur le serveur IRC" mandatory="True"/>
<variable name="port" type="port" description="Port TLS du serveur IRC" mandatory="True" hidden="True">
<value>6697</value>
</variable>
<variable name="channels" description="Nom des salons du serveur IRC" multi="True" mandatory="True"/>
</family>
</family>
</variables>
<constraints>
<fill name="calc_value">
<param type="variable">port</param>
<param name="remove_duplicate_value" type="boolean">True</param>
<target>outgoing_ports</target>
</fill>
</constraints>
</rougail>