[Pulp-list] repo options in yum-repo-file
Andreas Piesk
a.piesk at gmx.net
Tue Sep 11 16:51:03 UTC 2012
Hello list,
i'm testing pulp v1 as a replacement for a mrepo setup. i cancelled tests wit v2 because importing
rpms was awfully slow. might be my environment, i dont know.
one thing i'm missing in v1 is the possibility to specify repo options when binding a repo to a
consumer.
i mean somthing like
$ pulp-consumer consumer bind --repoid=myrepo --opts "protected=1 priorities=1"
resulting in an entry in /etc/yum.repos.d/pulp.repo:
[myrepo]
name = my precious
enabled = 1
gpgkey = file:/etc/pki/pulp-gpg-keys/myrepo/RPM-GPG-KEY-myrepo
sslverify = 0
gpgcheck = 1
baseurl = https://pulpserver/pulp/repos/myrepo
protected=1
priorities=1
for now i have to edit /etc/yum.repos.d/pulp.repo manually after the binding which is something i
don't like to do for 150 servers. i could use puppet but it would be nice if pulp could add options
it by itself.
are there plans to add something like that in the near future for pulp-consumer and pulp-admin?
thanks so far.
regards,
-ap
More information about the Pulp-list
mailing list