Class: Luban::Deployment::Packages::Kibana::Installer

Inherits:
Service::Installer
  • Object
show all
Includes:
Paths
Defined in:
lib/luban/deployment/packages/kibana/installer.rb

Instance Method Summary collapse

Methods included from Paths

#control_file_name

Instance Method Details

#installed?Boolean

Returns:

  • (Boolean)


21
22
23
# File 'lib/luban/deployment/packages/kibana/installer.rb', line 21

def installed?
  file?(kibana_executable)
end

#package_distObject



10
# File 'lib/luban/deployment/packages/kibana/installer.rb', line 10

def package_dist; task.opts.dist; end

#package_full_nameObject



11
# File 'lib/luban/deployment/packages/kibana/installer.rb', line 11

def package_full_name; "#{super}-#{package_dist}"; end

#source_repoObject



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_rootObject



17
18
19
# File 'lib/luban/deployment/packages/kibana/installer.rb', line 17

def source_url_root
  @source_url_root ||= "kibana/kibana"
end