Module: HammerCLIKatello::LocalHelper

Defined in:
lib/hammer_cli_katello/local_helper.rb

Instance Method Summary collapse

Instance Method Details

#parse_subcommandObject



3
4
5
6
7
# File 'lib/hammer_cli_katello/local_helper.rb', line 3

def parse_subcommand
  return super if File.exist?('/usr/share/foreman')
  raise "This command can only be run on the same server that Foreman is running on " \
    "and cannot be run remotely."
end