Class: HammerCLIKatello::HostCollectionErratumCommand::InstallCommand
Instance Method Summary
collapse
#request_params, #resolver
included
Instance Method Details
#content_type ⇒ Object
28
29
30
|
# File 'lib/hammer_cli_katello/host_collection_erratum.rb', line 28
def content_type
'errata'
end
|
#execute ⇒ Object
18
19
20
21
22
23
24
25
26
|
# 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
|