Project

General

Profile

Download (479 Bytes) Statistics
| Branch: | Tag: | Revision:
module ForemanMaintain
module Concerns
module Hammer
def self.included(base)
base.metadata do
preparation_steps { Procedures::HammerSetup.new }
end
end

# Run a hammer command, examples:
# hammer('host list')
def hammer(args)
Utils::Hammer.instance.run_command(args)
end

# TODO: method for specifying that the check that includes this method
# requires hammer to be setup
end
end
end
(2-2/6)