abstractitptyltd / puppet-monitoring

manage puppet monitoring resources
http://forge.puppetlabs.com/abstractit/monitoring
Apache License 2.0
4 stars 5 forks source link

yum repo dependency #2

Open hammondr opened 10 years ago

hammondr commented 10 years ago

Where does abstractit-monitoring expect to find the yum packages for the client nodes? I suspect I need to install or enable a new repo (and add a dependency to this module in my profiles). I am attempting to install this on CentOS 6.5.

See:

Debug: Executing '/bin/rpm -q nagios-plugins-log --nosignature --nodigest --qf %{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}\n'
Debug: Package[nagios-plugins-log](provider=yum): Ensuring => present
Debug: Executing '/usr/bin/yum -d 0 -e 0 -y install nagios-plugins-log'
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install nagios-plugins-log' returned 1: Error: Nothing to do

Error: /Stage[main]/Nrpe::Install/Package[nagios-plugins-log]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install nagios-plugins-log' returned 1: Error: Nothing to do
rendhalver commented 10 years ago

Hi.

Thanks for pointing this out. I believe those packages are in the epel repo. But don't quote me on that. I will add some code to include the repositories it needs as soon as i get a chance.

Pete.

hammondr commented 10 years ago

Ok, thanks. CentOS doesn't seem to find them in epel, rpmforge, or base/updates.

[root@p2 ~]# yum --enablerepo=* --disablerepo=c6-media search nagios-plugins
Loaded plugins: downloadonly, fastestmirror, security
Repository base is listed more than once in the configuration
Determining fastest mirrors
 * centosplus: mirror.cogentco.com
 * contrib: mirrors-pa.sioru.com
 * elrepo: reflector.westga.edu
 * elrepo-extras: reflector.westga.edu
 * elrepo-kernel: reflector.westga.edu
 * elrepo-testing: reflector.westga.edu
 * epel-testing: mirror.cogentco.com
 * epel-testing-debuginfo: mirror.cogentco.com
 * epel-testing-source: mirror.cogentco.com
 * extras: mirrors-pa.sioru.com
 * rpmforge: mirror.nexcess.net
 * rpmforge-extras: mirror.nexcess.net
 * rpmforge-testing: mirror.nexcess.net
base                                                                                                                                                                                                                   | 3.7 kB     00:00     
base/primary_db                                                                                                                                                                                                        | 4.4 MB     00:00     
elrepo                                                                                                                                                                                                                 | 2.9 kB     00:00     
elrepo/primary_db                                                                                                                                                                                                      | 606 kB     00:00     
extras                                                                                                                                                                                                                 | 3.4 kB     00:00     
extras/primary_db                                                                                                                                                                                                      |  19 kB     00:00     
puppetlabsdeps                                                                                                                                                                                                         | 2.5 kB     00:00     
puppetlabsdeps/primary_db                                                                                                                                                                                              |  23 kB     00:00     
puppetlabsproduct                                                                                                                                                                                                      | 2.5 kB     00:00     
puppetlabsproduct/primary_db                                                                                                                                                                                           | 113 kB     00:00     
rpmforge                                                                                                                                                                                                               | 1.9 kB     00:00     
rpmforge/primary_db                                                                                                                                                                                                    | 2.7 MB     00:00     
update                                                                                                                                                                                                                 | 3.4 kB     00:00     
update/primary_db                                                                                                                                                                                                      | 2.1 MB     00:00     
updates                                                                                                                                                                                                                | 3.4 kB     00:00     
updates/primary_db                                                                                                                                                                                                     | 2.1 MB     00:00     
======================================================================================================== N/S Matched: nagios-plugins =========================================================================================================
nagios-plugins.x86_64 : Host/service/network monitoring program plugins for Nagios
nagios-plugins-nrpe.x86_64 : Nagios plug-in for NRPE
nagios-plugins-setuid.x86_64 : Host/service/network monitoring program plugins for Nagios requiring setuid

  Name and summary matches only, use "search all" for everything.
hammondr commented 10 years ago

Ug. my EPEL repo listing was busted. They're in there. Sorry about that. For now, I'll add a local dependency on that repo.

rendhalver commented 10 years ago

Glad you got it sorted. I shall add a repo dependency and push out a new version as soon as I can.