-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #63 from palantirnet/solr-fixes
Fix Solr installation
- Loading branch information
Showing
52 changed files
with
148 additions
and
6,097 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
|
||
- src: geerlingguy.java | ||
version: 1.7.7 | ||
|
||
- src: geerlingguy.solr | ||
version: 4.0.2 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,24 @@ | ||
require_relative 'spec_helper.rb' | ||
|
||
describe file("/usr/share/solr") do | ||
describe file("/opt/solr") do | ||
it { should be_directory } | ||
end | ||
|
||
describe file("/usr/share/solr/current") do | ||
it { should be_symlink } | ||
describe file("/var/log/solr.log") do | ||
it { should be_file } | ||
it { should be_owned_by 'solr' } | ||
it { should be_grouped_into 'adm' } | ||
end | ||
|
||
describe file("/var/lib/jetty9/webapps/solr") do | ||
it { should be_symlink } | ||
describe service('solr') do | ||
it { should be_enabled } | ||
it { should be_running } | ||
end | ||
|
||
describe port(8983) do | ||
it { should be_listening } | ||
end | ||
|
||
describe command('curl http://127.0.0.1:8983/solr/admin/info/system?wt=json') do | ||
its(:stdout) { should match /"solr-spec-version":"4\.5\.1"/ } | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
geerlingguy.java | ||
geerlingguy.solr |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.