Jagan Kommineni
2013-May-25 01:19 UTC
[Puppet Users] Error: Could not find dependency Yumrepo[puppetlabs-products] for Package[puppet]
I have installed puppet from puppet-labs yum repository on OEL familiy of Red Hat Enterprise Linux Server release 5.9 (Tikanga) ---------------------------------------------------------------------------- [root@oel-puppet-master modules]# yum list facter Loaded plugins: rhnplugin, security This system is not registered with ULN. You can use up2date --register to register. ULN support will be disabled. Installed Packages facter.x86_64 1:1.7.1-1.el5 installed Available Packages facter.noarch 1.6.6-1.el5 puppetlabs-products [root@oel-puppet-master modules]# yum list puppet Loaded plugins: rhnplugin, security This system is not registered with ULN. You can use up2date --register to register. ULN support will be disabled. Installed Packages puppet.noarch 3.1.1-1.el5 installed Available Packages puppet.noarch 3.2.1-1.el5 puppetlabs-products [root@oel-puppet-master modules]# ------------------------------------------------------------------------------------------- package { "puppet": ensure => latest, require => [ Yumrepo["puppetlabs-products"], Package["facter"] ], notify => Service["puppet"], } package { "facter": ensure => latest, require => Yumrepo["puppetlabs-products"], notify => Service["puppet"], } ---------------------------------------------------------------------------------------------------------------- Here is the repofile --------------------------------- [root@oel-puppet-master modules]# cat /etc/yum.repos.d/puppetlabs.repo [puppetlabs-products] name=Puppet Labs Products El 5 - $basearch baseurl=http://yum.puppetlabs.com/el/5/products/$basearch gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-puppetlabs enabled=1 gpgcheck=1 ------------------------------------------------------- yum repolist | grep puppetlabs-products This system is not registered with ULN. You can use up2date --register to register. ULN support will be disabled. puppetlabs-products Puppet Labs Products El 5 - x86_64 262 [root@oel-puppet-master modules]# ----------------------------------------------------------------------------------------------------- Could you mind to advise where I am going wrong ... ------------------------------------------------------------------------------------------------- -- 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 puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Matthias Saou
2013-May-27 09:35 UTC
Re: [Puppet Users] Error: Could not find dependency Yumrepo[puppetlabs-products] for Package[puppet]
On Fri, 24 May 2013 18:19:46 -0700 (PDT) Jagan Kommineni <jagan.kommineni@gmail.com> wrote:> I have installed puppet from puppet-labs yum repository on OEL > familiy of Red Hat Enterprise Linux Server release 5.9 (Tikanga)[...] You checked your system''s yum repository configuration, which seems to be in order, but given your email''s subject, the problem must be in your puppet configuration, where your package resource want the "puppetlabs-products" yumrepo resource to be present. If you already have that repository configured on your nodes, you can just remove the "require => Yumrepo["puppetlabs-products"]" lines. Otherwise, you will need to add that resource to be declared. Matthias -- Matthias Saou ██ ██ ██ ██ Web: http://matthias.saou.eu/ ██████████████ Mail/XMPP: matthias@saou.eu ████ ██████ ████ ██████████████████████ GPG: 4096R/E755CC63 ██ ██████████████ ██ 8D91 7E2E F048 9C9C 46AF ██ ██ ██ ██ 21A9 7A51 7B82 E755 CC63 ████ ████ -- 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 puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Possibly Parallel Threads
- removing inaffective SAN partitions from the system .....
- Run a File resource only if another file is missing
- problems ensuring that a service is absent
- Yumrepo''s subscribe ran before package require Yumrepo?
- yumrepo is missing name attribute in repo files using puppet-0.24.8-4.el5