Module: Luban::Deployment::Packages::Grafana::Paths

Included in:
Configurator, Controller, Installer
Defined in:
lib/luban/deployment/packages/grafana/base.rb

Instance Method Summary collapse

Instance Method Details

#control_file_dirObject



6
# File 'lib/luban/deployment/packages/grafana/base.rb', line 6

def control_file_dir; @control_file_dir ||= "conf"; end

#control_file_nameObject



8
9
10
# File 'lib/luban/deployment/packages/grafana/base.rb', line 8

def control_file_name
  @control_file_name ||= "#{service_name}.ini"
end

#data_pathObject



12
13
14
# File 'lib/luban/deployment/packages/grafana/base.rb', line 12

def data_path
  @data_path ||= shared_path.join('data')
end

#plugins_pathObject



16
17
18
# File 'lib/luban/deployment/packages/grafana/base.rb', line 16

def plugins_path
  @plugins_path ||= data_path.join('plugins')
end