diff --git a/lib/hammer_cli_katello/content_view_version.rb b/lib/hammer_cli_katello/content_view_version.rb index 1b59fd1a..28f7c336 100644 --- a/lib/hammer_cli_katello/content_view_version.rb +++ b/lib/hammer_cli_katello/content_view_version.rb @@ -109,6 +109,19 @@ class RepublishRepositoriesCommand < HammerCLIKatello::SingleResourceCommand end end + class VerifyChecksum < HammerCLIKatello::SingleResourceCommand + include HammerCLIForemanTasks::Async + + action :verify_checksum + command_name "verify-checksum" + + success_message _("Verifying checksum of repositories in Content View Version with task %{id}.") + failure_message _("Could not verify checksum of repositories in the Content View Version") + build_options do |o| + o.expand(:all).including(:content_views, :organizations) + end + end + class PromoteCommand < HammerCLIKatello::SingleResourceCommand include HammerCLIForemanTasks::Async include LifecycleEnvironmentNameMapping