Module: ForemanMonit

Defined in:
lib/foreman-monit.rb,
lib/foreman-monit/cli.rb,
lib/foreman-monit/exporter.rb

Defined Under Namespace

Classes: CLI, Exporter

Class Method Summary collapse

Class Method Details

.export_to_monitrc(options) ⇒ Object



6
7
8
9
# File 'lib/foreman-monit.rb', line 6

def self.export_to_monitrc(options)
  exporter = ForemanMonit::Exporter.new(options)
  exporter.run!
end