Check this out: ]# yum -y list available | grep nrpe nagios-plugins-nrpe.x86_64 2.12-16.el6 epel nrpe.x86_64 2.12-16.el6 epel so there''s a package named nrpe there.. right? so why do I see this when I run the puppet agent? err: /Stage[main]/Nagios::Client/Package[nrpe]/ensure: change from absent to latest failed: Could not update: Could not find package nrpe at /etc/puppet/modules/nagios/manifests/client.pp:20 am I missing something here? This is the only host I''m seeing this on... -- Peter L. Berghold Owner, Shark River Technical Solutions LLC -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Mar 8, 3:37 pm, Peter Berghold <salty.cowd...@gmail.com> wrote:> Check this out: > > ]# yum -y list available | grep nrpe > nagios-plugins-nrpe.x86_64 2.12-16.el6 > epel > nrpe.x86_64 2.12-16.el6 > epel > > so there''s a package named nrpe there.. right? > > so why do I see this when I run the puppet agent? > > err: /Stage[main]/Nagios::Client/Package[nrpe]/ensure: change from absent > to latest failed: Could not update: Could not find package nrpe at > /etc/puppet/modules/nagios/manifests/client.pp:20 > > am I missing something here? This is the only host I''m seeing this on...You could gather more information by running the puppet agent in debug mode on the affected host. Among other things, it should give you the exact command Puppet is trying to run to install the package, and I think it will also give you the standard output and standard error that results. Or you could just jump straight to running [sudo] yum -y install nrpe on the affected host to see what it tells you. My first guess would be an unsatisfiable dependency or a conflict with some other installed package. Whatever the problem is, you''ll need the specifics to determine why only one host is affected (for now), and what you should do to fix it. John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Peter Berghold
2012-Mar-16 14:25 UTC
Re: [Puppet Users] Re: Mind boggling yum provider issue...
Figured this one out finally. Some background first: The system in question is running the ISPManager control panel is and is my shared hosting platform. I mention that because apparently during the installation of ISPManager there are repos added to the repo list by the ISPManager installer and here''s where it gets squirrelly. One repo''s definitions interfere with another''s. If I disabled the epel repo I was able to install the nrpe package just fine. With the epel repo enabled I''d see nrpe listed as available but yum couldn''t load it. The actual package to load (which didn''t show in the available list before) is nagios-nrpe-server. wierd.. works now though..> >-- Peter L. Berghold Owner, Shark River Technical Solutions LLC -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Mar 16, 9:25 am, Peter Berghold <salty.cowd...@gmail.com> wrote:> Figured this one out finally.I''m glad you got it working.> Some background first: The system in question is running the ISPManager > control panel is and is my shared hosting platform. I mention that because > apparently during the installation of ISPManager there are repos added to > the repo list by the ISPManager installer and here''s where it gets > squirrelly. > > One repo''s definitions interfere with another''s. If I disabled the epel > repo I was able to install the nrpe package just fine. With the epel repo > enabled I''d see nrpe listed as available but yum couldn''t load it. The > actual package to load (which didn''t show in the available list before) is > nagios-nrpe-server. > > wierd.. works now though..Not really all that weird, except maybe that ISPManager is installing repos behind your back. (Puppet can manage those after installation via Yumrepo resources, if you wish.) It''s not so uncommon for different repos to fail to play together nicely, so one needs to be careful about what repos one installs. In some cases it may help to install and use yum''s "priorities" and/or "protect-base" plugins. John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.