Home_greyopenFATE - openSUSE feature tracking > #312969
Dashboard | Search | Sign up | Login

Please login or register to be able to edit or vote this feature.

[autoyast] more control over the naming of the /etc/zypp/repos/*repo files

Feature state

openSUSE Distribution
Unconfirmed

Description

atm if you add additional repositories/products in your autoyast xml file, the resulting .repo files get named like
proto-host-somehash.repo. If you want to integrate with e.g. puppet this becomes a but cumbersome.
It would be nice if you could have an alias subelement for the listentry element which would define the name of the repo file. (using alias as term as this is what matches zypper is using in zypper lr)

[[[ 
<listentry>
<media_url><![CDATA[http://download.opensuse.org/repositories/devel:/languages:/ruby:/extensions/SLE_11_SP1/]]></media_url>
<name>devel:languages:ruby:extensions (SUSE SLE 11 SP1)</name>
<product>DLRE-SLE11-SP1</product>
<alias>dlre</alias>
<product_dir>/</product_dir>
</listentry>
]]]
would give us
[[[ 
$ cat dlre.repo
[dlre]
name=devel:languages:ruby:extensions (SUSE SLE 11 SP1)
enabled=1
autorefresh=1
baseurl=http://download.opensuse.org/repositories/devel:/languages:/ruby:/extensions/SLE_11_SP1/
type=rpm-md
gpgcheck=1
gpgkey=http://download.opensuse.org/repositories/devel:/languages:/ruby:/extensions/SLE_11_SP1/repodata/repomd.xml.key
]]]
another option might be using the product element. which would work in my autoyast file aswell.

Discussion


No comments yet

Last change: 2 years ago
Voting
Score: 3
  • Negative: 0
  • Neutral: 0
  • Positive: 3
Tags
Feature Export
Application-xmlXML   Text-x-logPlaintext   PrinterPrint