Class: HammerCLIKatello::HostCollectionPackageCommand::UpdateCommand

Inherits:
HammerCLIKatello::HostCollection::UpdateContentBaseCommand show all
Includes:
PackageContentType
Defined in:
lib/hammer_cli_katello/host_collection_package.rb

Instance Method Summary collapse

Methods included from PackageContentType

#content_type, included

Methods inherited from HammerCLIKatello::HostCollection::ContentBaseCommand

#request_params, #resolver

Methods included from ResolverCommons

included

Instance Method Details

#executeObject



44
45
46
47
48
49
50
51
52
# 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