Torsten, The puppetlabs yum repository is for EL releases only. Because SLES is 'special' you need to use a repo with RPMS (and metadata) tailored for zypper and its ilk.
https://build.opensuse.org/project/show/systemsmanagement:puppet - Jesse On Thu, Jun 12, 2014 at 7:12 AM, Torsten Kleiber <[email protected]> wrote: > Hi! > > I try to activate the yum repository for SUSE Linux Enterprise Server 11: > > myserver:~ # zypper --non-interactive addrepo -t YUM > http://yum.puppetlabs.com puppet > Adding repository 'puppet' [done] > Repository 'puppet' successfully added > Enabled: Yes > Autorefresh: No > URI: http://yum.puppetlabs.com/ > > myserver:~ # zypper --non-interactive refresh > Repository 'SUSE-Linux-Enterprise-Server-11-SP1 11.1.1-1.152' is up to date. > Retrieving repository 'puppet' metadata [\] > File '/repodata/repomd.xml' not found on medium 'http://yum.puppetlabs.com/' > Abort, retry, ignore? [a/r/i/?] (a): a > Retrieving repository 'puppet' metadata [error] > Repository 'puppet' is invalid. > Can't provide /repodata/repomd.xml : Media Exception > Please check if the URIs defined for this repository are pointing to a valid > repository. > Skipping repository 'puppet' because of the above error. > Repository 'sle-11-x86_64' is up to date. > Some of the repositories have not been refreshed because of an error. > myserver:~ # cat /etc/SuSE-release > SUSE Linux Enterprise Server 11 (x86_64) > VERSION = 11 > PATCHLEVEL = 1 > myserver:~ # > > Any hints why this happens? > > Kind regards > Torsten > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/df44c6e6-8b9c-4415-8833-9f8d1254631a%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAMM%2BeSW36vCqYPqqaff_Qd_YDvdn3dQhqi_Lyt%2BMHX021rEHeQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
