[Pulp-list] output of "pulp-admin repo list"

Austin amacdona at redhat.com
Thu Mar 26 20:25:03 UTC 2015


Hi Cristian,

Unless I misunderstood your question, I think our rest API does what you
need. If have to use the CLI, I don't think there is a way to get it
return json.

http://pulp.readthedocs.org/en/latest/dev-guide/integration/rest-api/repo/retrieval.html#retrieve-all-repositories

Austin

On 03/26/2015 04:15 PM, Cristian Falcas wrote:
> Hello,
>
> Is there any way to make the output of "pulp-admin repo list" to be
> more "programmatic"? Json or xml?
>
> Meaning that we need to parse the output from a program. More
> specifically we want to create a puppet provider for managing repos.
>
> Thank you,
> Cristian Falcas
>
> _______________________________________________
> Pulp-list mailing list
> Pulp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-list




More information about the Pulp-list mailing list