dataset/seed/mariadb-client/dictionaries/20_mariadb.xml

33 lines
1.5 KiB
XML
Raw Normal View History

2022-03-08 19:42:28 +01:00
<?xml version='1.0' encoding='UTF-8'?>
<rougail version="0.10">
2022-04-28 21:48:16 +02:00
<services>
2022-08-18 16:38:37 +02:00
<service name="mariadbclient" target="risotto" engine="creole"/>
2022-04-28 21:48:16 +02:00
</services>
2022-03-08 19:42:28 +01:00
<variables>
<family name="mariadb" description="MariaDB">
2022-08-18 10:19:43 +02:00
<variable name="mariadb_client_server_domainname" type="domainname" description="Nom de domaine du serveur MariaDB" mandatory="True" supplier="MariaDB"/>
2022-03-08 19:42:28 +01:00
<variable name="mariadb_client_username" description="Database username" mandatory="True" hidden="True"/>
2022-08-18 10:19:43 +02:00
<variable name="mariadb_client_password" type="secret" description="Database password" mandatory="True" hidden="True" supplier="MariaDB:password"/>
2022-03-08 19:42:28 +01:00
<variable name="mariadb_client_database" description="Database name" mandatory="True" hidden="True"/>
</family>
</variables>
<constraints>
2022-08-18 10:19:43 +02:00
<fill name="normalize_family">
<param type="variable">domain_name_eth0</param>
2022-03-08 19:42:28 +01:00
<target>mariadb_client_username</target>
</fill>
<fill name="calc_value">
<param type="variable">mariadb_client_username</param>
<target>mariadb_client_database</target>
</fill>
2022-08-18 10:19:43 +02:00
<fill name="get_password">
<param name="server_name" type="variable">mariadb_client_server_domainname</param>
<param name="username" type="variable">domain_name_eth0</param>
<param name="description">remote</param>
<param name="type">cleartext</param>
<param name="hide" type="variable">hide_secret</param>
<target>mariadb_client_password</target>
</fill>
2022-03-08 19:42:28 +01:00
</constraints>
</rougail>