Class: Luban::Deployment::Packages::Kibana::Installer
- Inherits:
-
Service::Installer
- Object
- Service::Installer
- Luban::Deployment::Packages::Kibana::Installer
- Includes:
- Paths
- Defined in:
- lib/luban/deployment/packages/kibana/installer.rb
Instance Method Summary collapse
- #installed? ⇒ Boolean
- #package_dist ⇒ Object
- #package_full_name ⇒ Object
- #source_repo ⇒ Object
- #source_url_root ⇒ Object
Methods included from Paths
Instance Method Details
#installed? ⇒ Boolean
21 22 23 |
# File 'lib/luban/deployment/packages/kibana/installer.rb', line 21 def installed? file?(kibana_executable) end |
#package_dist ⇒ Object
10 |
# File 'lib/luban/deployment/packages/kibana/installer.rb', line 10 def package_dist; task.opts.dist; end |
#package_full_name ⇒ Object
11 |
# File 'lib/luban/deployment/packages/kibana/installer.rb', line 11 def package_full_name; "#{super}-#{package_dist}"; end |
#source_repo ⇒ Object
13 14 15 |
# File 'lib/luban/deployment/packages/kibana/installer.rb', line 13 def source_repo @source_repo ||= 'https://download.elastic.co' end |
#source_url_root ⇒ Object
17 18 19 |
# File 'lib/luban/deployment/packages/kibana/installer.rb', line 17 def source_url_root @source_url_root ||= "kibana/kibana" end |