def assert_solr_installed!
unless solr_home_exist? && solr_data_dir_exist? && solr_jetty_home_exist?
Chef::Log.fatal "Chef Solr is not installed or solr_home_path, solr_data_path, and solr_jetty_path are misconfigured."
Chef::Log.fatal "Your current configuration is:"
Chef::Log.fatal "solr_home_path: #{Chef::Config[:solr_home_path]}"
Chef::Log.fatal "solr_data_path: #{Chef::Config[:solr_data_path]}"
Chef::Log.fatal "solr_jetty_path: #{Chef::Config[:solr_jetty_path]}"
Chef::Log.fatal "You can install Chef Solr using the chef-solr-installer script."
exit 1
end
end