Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

In /etc/yum.repos.d/puppet.repo have I put

[puppetlabs]
name=Puppet Labs Packages
baseurl=http://yum.puppetlabs.com/el/$releasever/devel/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://yum.puppetlabs.com/RPM-GPG-KEY-puppetlabs

and when I do

yum info puppet-server

it doesn't mention puppet-server-3.0.0-0.1rc3 as being an option despite it is in the repository http://yum.puppetlabs.com/el/6/devel/x86_64/

What am I doing wrong?

Using CentOS 6.3 64bit.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted
rpm -Uvh http://yum.puppetlabs.com/el/6/devel/x86_64/puppetlabs-release-devel-6-1.noarch.rpm

No idea, why this works, but it does.

All it contains are

[root@puppet ~]# rpm -ql puppetlabs-release-devel-6-1
/etc/pki/rpm-gpg/RPM-GPG-KEY-puppetlabs-devel
/etc/yum.repos.d/puppetlabs-devel.repo

[root@puppet ~]# cat /etc/yum.repos.d/puppetlabs-devel.repo
[puppetlabs-devel]
name=Puppet Labs Devel 6 - $basearch
baseurl=http://yum.puppetlabs.com/el/6/devel/$basearch
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-puppetlabs-devel
enabled=1
gpgcheck=1
share|improve this answer
    
It adds the puppetlabs-devel repo to yum. Once it's there, you can manage packages from the puppet dev channel within your standard yum setup. –  cjc Jul 20 '12 at 11:46
    
The only difference I can see is the baseurl which should resolve to the same? –  Sandra Jul 20 '12 at 11:59
    
Hmm, good point. –  cjc Jul 20 '12 at 12:15
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.