Sha256: b23ce10b24d85342da6ad095121d6bf3e523efda2732f7695dc1b0ba209b9e36

Contents?: true

Size: 784 Bytes

Versions: 11

Compression:

Stored size: 784 Bytes

Contents

target_test 'probably old template config' do |config|
  if config[:config_templates] && config[:config_templates].class == Array
    next {
      severity: :warning,
      message: 'config probably contains obsolete configuration field.' +
        ' Use "templates:" instead of "config_templates:" in Fulmar 2'
    }
  end
end

target_test 'probably missing plugin' do |config|
  if config[:mariadb] && !config.plugins.include?(:mariadb)
    next {
      severity: :warning,
      message: 'config contains a mariadb config but plugin is not loaded'
    }
  end
end

target_test 'probably old mariadb config' do |config|
  if config[:maria]
    next {
      severity: :warning,
      message: 'config contains a config setting "maria" which is "mariadb" in Fulmar 2'
    }
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
fulmar-2.2.6 lib/fulmar/domain/service/config_tests/compatibility.rb
fulmar-2.2.5 lib/fulmar/domain/service/config_tests/compatibility.rb
fulmar-2.2.4 lib/fulmar/domain/service/config_tests/compatibility.rb
fulmar-2.2.3 lib/fulmar/domain/service/config_tests/compatibility.rb
fulmar-2.2.2 lib/fulmar/domain/service/config_tests/compatibility.rb
fulmar-2.2.1 lib/fulmar/domain/service/config_tests/compatibility.rb
fulmar-2.2.0 lib/fulmar/domain/service/config_tests/compatibility.rb
fulmar-2.1.2 lib/fulmar/domain/service/config_tests/compatibility.rb
fulmar-2.1.1 lib/fulmar/domain/service/config_tests/compatibility.rb
fulmar-2.1.0 lib/fulmar/domain/service/config_tests/compatibility.rb
fulmar-2.0.2 lib/fulmar/domain/service/config_tests/compatibility.rb