theforeman/foreman-documentation

Hammer commands for content export/import broken

Closed this issue · 3 comments

Hi.

I think various Hammer commands are broken. I have tested the following command on Foreman 2.3, 2.5, 3.1, and 3.2:

# hammer content-export complete repository --organization-id 1 --product="My Product" --name="My Repo"
Error: No such sub-command 'repository'.

See: 'hammer content-export complete --help'.

source: guides/common/modules/proc_exporting-a-repository.adoc

Repository exports were added in https://projects.theforeman.org/issues/34374 which is in Katello 4.5 / Foreman 3.3.

Retested on Foreman 3.3: hammer content-export complete repository --id _ID_1_ --product-id _ID_2_

Fixed for 3.3+: #1612