Class: HammerCLIKatello::HostCollectionPackageGroupCommand::RemoveCommand

Inherits:
HammerCLIKatello::HostCollection::RemoveContentBaseCommand show all
Includes:
PackageGroupContentType
Defined in:
lib/hammer_cli_katello/host_collection_package_group.rb

Instance Method Summary collapse

Methods included from PackageGroupContentType

#content_type, included

Methods inherited from HammerCLIKatello::HostCollection::ContentBaseCommand

#request_params, #resolver

Methods included from ResolverCommons

included

Instance Method Details

#executeObject



61
62
63
64
65
66
67
68
69
# File 'lib/hammer_cli_katello/host_collection_package_group.rb', line 61

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_group_remove`. 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