Class: Luban::Deployment::Packages::Elasticsearch::Installer
- Inherits:
-
Service::Installer
- Object
- Service::Installer
- Luban::Deployment::Packages::Elasticsearch::Installer
show all
- Includes:
- Paths
- Defined in:
- lib/luban/deployment/packages/elasticsearch/installer.rb
Instance Method Summary
collapse
Methods included from Paths
#control_file_dir, #control_file_name, #data_path
Instance Method Details
#installed? ⇒ Boolean
18
19
20
|
# File 'lib/luban/deployment/packages/elasticsearch/installer.rb', line 18
def installed?
file?(elasticsearch_executable)
end
|
#source_repo ⇒ Object
10
11
12
|
# File 'lib/luban/deployment/packages/elasticsearch/installer.rb', line 10
def source_repo
@source_repo ||= 'http://download.elastic.co'
end
|
#source_url_root ⇒ Object
14
15
16
|
# File 'lib/luban/deployment/packages/elasticsearch/installer.rb', line 14
def source_url_root
@source_url_root ||= "elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/#{package_version}"
end
|