Sha256: 40d89971dc583721a6fac734411e9ebc4158cf50ed821926e743b71dc8b54bc1

Contents?: true

Size: 547 Bytes

Versions: 1

Compression:

Stored size: 547 Bytes

Contents

# Move this file into the plugin

target_test 'mariadb is loaded' do |config|
  if config[:type] == :mariadb && !config.plugins.include?(:mariadb)
    next {
      severity: :warning,
      message: 'config uses mysql/mariadb but your config is missing the maria plugin'
    }
  end
end

target_test 'database name exists' do |config|
  if config.plugins.include?(:mariadb) && config[:maria] && config[:maria][:database].blank?
    next {
      severity: :error,
      message: 'config is missing a database name in maria:database'
    }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fulmar-2.0.0 lib/fulmar/domain/service/config_tests/mariadb.rb