class KPM::BaseInstaller

def validate_installation_arg(plugin_key, arg_type, specified_arg, looked_up_arg)

def validate_installation_arg(plugin_key, arg_type, specified_arg, looked_up_arg)
  # If nothing was specified, or if we don't find anything from the lookup, nothing to validate against
  if specified_arg.nil? || looked_up_arg.nil?
    return true
  end
  if specified_arg.to_s != looked_up_arg.to_s
    @logger.warn("Aborting installation for plugin_key #{plugin_key}: specified value #{specified_arg} for #{arg_type} does not match looked_up value #{looked_up_arg}")
    return false
  end
  true
end