Error while enabling the official puppet lab collection repository

0 votes

I'm trying to enable the official puppet lab collection repository with this command:

sudo rpm -ivh http://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm

And I ended up with this error, what do I do?

Retrieving http://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm
warning: /var/tmp/rpm-tmp.4CilbA: Header V4 RSA/SHA1 Signature, key ID 4bd6ec30: NOKEY
Preparing...                          ################################# [100%]
        file /etc/yum.repos.d/puppetlabs.repo from install of puppetlabs-release-7-12.noarch conflicts with file from package puppetlabs-release-6-12.noarch
Feb 25 in Puppet by Alia
21 views

1 answer to this question.

0 votes

Hey @Alia, try executing these commands and let me know if it works:

[root@ip-10-****/]# rpm -qa | grep puppetlabs-release
puppetlabs-release-6-12.noarch
[root@ip-10-****/]# rpm -e puppetlabs-release-6-12.noarch
answered Feb 25 by Nandita

Thanks, @Nandita for the quick response and surprisingly this worked. Can you please tell why was I getting that error?

Seems like you have puppet 3 and you're executing commands for puppet 4.

Related Questions In Puppet

0 votes
1 answer

Error while using newrelic class - Puppet

Hey @Harjot, The catalog compiler will look ...READ MORE

answered Feb 14 in Puppet by Ranjan
22 views
0 votes
1 answer
0 votes
1 answer

Error while installing Puppet dashboard

Hey @Dipti, seems like you haven't enabled ...READ MORE

answered Feb 25 in Puppet by Nandita
18 views
0 votes
1 answer
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
111 views
0 votes
1 answer
0 votes
1 answer

Error while trying to instal mssql tools using puppet

When you use puppet, you don't use ...READ MORE

answered Feb 25 in Puppet by Nandita
74 views
0 votes
1 answer