diff --git a/spec/acceptance/mysql_spec.rb b/spec/acceptance/mysql_spec.rb index d11aac12..f471c6d2 100644 --- a/spec/acceptance/mysql_spec.rb +++ b/spec/acceptance/mysql_spec.rb @@ -5,8 +5,17 @@ describe 'jira mysql' do it 'installs with defaults' do pp = <<-EOS + # On ubuntu 20.04 and 22.04 the default is to install mariadb + # As the ubuntu 20.04 runner we use in github actions allready has mysql installed + # a apparmor error is triggerd when using mariadb in this test.. + # Forcing the use of mysql class { 'mysql::server': root_password => 'strongpassword', + package_name => 'mysql-server', + service_name => 'mysql', + } + class { 'mysql::client': + package_name => 'mysql-client', } # Default MySQL is too old for utf8mb4 on CentOS 7, or something. Also Ubuntu 20.04