I'm not familar with PERL, but from what I see it runs pulp-admin rpm repo content errata --repo-id=$repo --fields=id
Where $repo is determined above. The query to figure out $repo seems to work: [root@centos7-foreman1 .pulp]# pulp-admin repo list -s 94873fc0-b6fa-44a7-a524-bae876e2dc99 CentOS 7 - Base 9b510bfb-8106-40e9-8af5-77f89115010a CentOS 7 - Updates But when I substitute that in the subsequent command it seems as if the syntax isn't right for pulp-admin [root@centos7-foreman1 .pulp]# pulp-admin rpm repo content errata --repo-id=9b510bfb-8106-40e9-8af5-77f89115010a --fields=id Usage: pulp-admin [SUB_SECTION, ..] COMMAND Available Sections: auth - manage users, roles and permissions bindings - search consumer bindings consumer - display and manage Pulp consumers content - manage content event - subscribe to event notifications orphan - find and remove orphaned content units repo - list repositories and manage repo groups server - display info about the server tasks - list and cancel server-side tasks Available Commands: login - login and download a session certificate logout - deletes the user's session certificate status - shows server's status On Wednesday, September 6, 2017 at 2:28:22 AM UTC-4, Lachlan Musicman wrote: > > Hmm. I'm about to leave work, but it works for us with no major changes. > > We run Foreman 1.15.3 and Katello 3.4.5 > > L. > > ------ > "The antidote to apocalypticism is *apocalyptic civics*. Apocalyptic > civics is the insistence that we cannot ignore the truth, nor should we > panic about it. It is a shared consciousness that our institutions have > failed and our ecosystem is collapsing, yet we are still here — and we are > creative agents who can shape our destinies. Apocalyptic civics is the > conviction that the only way out is through, and the only way through is > together. " > > *Greg Bloom* @greggish > https://twitter.com/greggish/status/873177525903609857 > > On 6 September 2017 at 05:49, Jon Dison <[email protected] <javascript:>> > wrote: > >> Instructions look solid to me but when I run it I get >> >> NOTICE: Skipping errata CESA-2017:2563 (Moderate CentOS openssh Security >> Update) -- No packages found >> for every errata. Any ideas? >> >> On Friday, June 19, 2015 at 3:14:44 AM UTC-4, Rodrigo Menezes wrote: >>> >>> Not sure if anyone is interested or not but I created this: >>> https://github.com/brdude/pulp_centos_errata_import >>> >>> It's poor code, but it's working for me. Only tested with 2.2 and very >>> little testing at that. >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Foreman users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at https://groups.google.com/group/foreman-users. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "Foreman users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.
