Commit 3ac98e4f authored by Matthieu FAURE's avatar Matthieu FAURE

Merge branch '13-fix-mariadb-utf8mb4' into 'master'

Resolve "Fix MariaDB UTF8mb4"

Closes #13

See merge request !13
parents eb6c2868 b7622a71
Pipeline #6745 passed with stages
in 12 minutes and 39 seconds
......@@ -11,7 +11,15 @@ class nextcloud::mariadb {
package_name => 'mariadb-server',
root_password => $nextcloud::db_root_password,
remove_default_accounts => true,
override_options => {
'mysqld' => {
'innodb_file_format' => 'Barracuda',
'innodb_file_per_table' => '1',
'innodb_large_prefix' => true,
}
},
}
class { 'mysql::client':
package_name => 'mariadb-client'
}
......
......@@ -23,11 +23,10 @@ describe 'nextcloud::mariadb' do
it { is_expected.to contain_class('mysql::client') }
it { is_expected.to contain_class('mysql::bindings') }
it { is_expected.to contain_mysql__db('nextcloud') }
# package_name (mariadb-server) does not seem to be taken in account
# As unit-test check the Puppet Catalog and not the host, it is OK to have 'mysql-server' as package name
# and not 'mariabd'.
it { is_expected.to contain_package('mysql-server') }
it { is_expected.to contain_service('mysqld') }
# it { is_expected.to contain_package('mariadb-server') }
# it { is_expected.to contain_service('mariadb') }
end
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment