module HammerCLIKatello::LocalHelper

Public Instance Methods

parse_subcommand() click to toggle source
Calls superclass method
# 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