class Caco::Prometheus::ExporterInstall

Public Instance Methods

check_root(ctx, **) click to toggle source
# File lib/caco/prometheus/exporter_install.rb, line 31
def check_root(ctx, **)
  ctx[:root] = Settings.prometheus.root
  FileUtils.mkdir_p(Settings.prometheus.root)
end