| author | ymh <ymh.work@gmail.com> |
| Wed, 15 Feb 2017 22:53:52 +0100 | |
| changeset 512 | cf4653cf88f2 |
| parent 28 | b0b56e0f8c7f |
| permissions | -rw-r--r-- |
class { 'mysql::server': root_password => 'password' } mysql::db { 'mydb': user => 'myuser', password => 'mypass', host => 'localhost', grant => ['SELECT', 'UPDATE'], } mysql::db { "mydb_${fqdn}": user => 'myuser', password => 'mypass', dbname => 'mydb', host => $::fqdn, grant => ['SELECT', 'UPDATE'], tag => $domain, }