Module mysql#
License: Apache 2.0
Version: 0.6.13
This module requires compiler version 2017.2 or higher
Upstream project: https://github.com/inmanta/mysql.git
Entities#
- entity mysql::DBMS#
Parents:
std::Entity
A DB management system (a service on a machina, DBaaS, …)
- attribute string hostref#
reference to host, e.g. ip or hostname
- attribute ip::port port=3306#
- relation mysql::Database databases [0:*]#
other end:
mysql::Database.server [1]
- entity mysql::Database#
Parents:
std::Entity
- attribute string name#
- attribute string user#
- attribute string password#
- attribute string encoding='utf8'#
- attribute string collation='utf8_general_ci'#
- relation mysql::DBMS server [1]#
other end:
mysql::DBMS.databases [0:*]
The following implementations are defined for this entity:
The following implements statements select implementations for this entity:
mysql::dBDependsOnServer
constrainttrue
- entity mysql::ManagedMysql#
Parents:
mysql::DBMS
- attribute string user#
- attribute string password#
- relation ip::Host agenthost [1]#
The following implementations are defined for this entity:
The following implements statements select implementations for this entity:
mysql::manageManaged
constrainttrue
- entity mysql::Server#
Parents:
ip::services::Server
,mysql::DBMS
Mysql server configuration
- attribute bool remove_anon_users=false#
Required when trying to connect to a mysql database on the same host over it’ external IP.
- relation std::Service _svc [1]#
The following implementations are defined for this entity:
The following implements statements select implementations for this entity:
mysql::removeAnonUsers
constraint(remove_anon_users == true)
mysql::ports
constrainttrue
mysql::mysqlRedhat
constraint(std::familyof(host.os,'rhel') and (host.os.version <= 6))
mysql::mysqlMariaDB
constraint((std::familyof(host.os,'rhel') and (host.os.version >= 7)) or std::familyof(host.os,'fedora'))
mysql::ubuntuMysql
constraintstd::familyof(host.os,'ubuntu')
Implementations#
- implementation mysql::dBDependsOnServer#
- implementation mysql::manageManaged#
- implementation mysql::mysqlMariaDB#
- implementation mysql::mysqlRedhat#
- implementation mysql::ports#
- implementation mysql::removeAnonUsers#
- implementation mysql::ubuntuMysql#