class HammerCLIKatello::HostCollectionPackageCommand::UpdateCommand

Public Instance Methods

execute() click to toggle source
Calls superclass method
# File lib/hammer_cli_katello/host_collection_package.rb, line 44
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_package_update`. 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