Method: Caco::Prometheus::Install#check_root
- Defined in:
- lib/caco/prometheus/install.rb
#check_root(ctx) ⇒ Object
3 4 5 6 |
# File 'lib/caco/prometheus/install.rb', line 3 def check_root(ctx, **) ctx[:root] = Settings.prometheus.root FileUtils.mkdir_p(Settings.prometheus.root) end |