class HammerCLIKatello::HostCollectionErratumCommand::InstallCommand

Public Instance Methods

content_type() click to toggle source
# File lib/hammer_cli_katello/host_collection_erratum.rb, line 28
def content_type
  'errata'
end
execute() click to toggle source
Calls superclass method
# File lib/hammer_cli_katello/host_collection_erratum.rb, line 18
def execute
  warn "This command uses katello agent and will be removed in favor of remote execution " \
    "in a future release."
  warn "The remote execution equivalent is `hammer job-invocation create --feature " \
    "katello_errata_install`. Specify the host collection with the --search-query " \
    "parameter, e.g. `--search-query \"host_collection = MyCollection\"` or " \
    "`--search-query \"host_collection_id=6\"`."
  super
end