[chef] unable to install apache2 on CentOS 6.2


Chronological Thread 
  • From: Aniket Sharad < >
  • To: " " < >
  • Subject: [chef] unable to install apache2 on CentOS 6.2
  • Date: Fri, 14 Mar 2014 06:43:45 +0000
  • Accept-language: en-IN, en-US

Ohai chefs

 

I am getting the below error while installing apache2 package on CenOS 6.2; the yum info command returns the packate and its version; when I used package resource in my recipe to install; it fails to install apache with the below error.

Has anyone see this, is there a bug?

 

Any pointers would be helpful!

 

Thanks

Aniket

 

 

[2014-03-13T23:37:31-07:00] DEBUG: package[apache2] checking yum info for httpd-2.2.15

[2014-03-13T23:37:31-07:00] DEBUG: package[apache2] installed version: (none) candidate version: 2.2.15-15.el6.centos

 

================================================================================

Error executing action `install` on resource 'package[apache2]'

================================================================================

 

 

Chef::Exceptions::Package

-------------------------

Version 2.2.15 of httpd not found. Did you specify both version and release? (version-release, e.g. 1.84-10.fc6)

 

 

Resource Declaration:

---------------------

# In /var/chef/cache/cookbooks/CQ-Author-Install/recipes/dispatcher.rb

 

  1: package 'apache2' do

  2:   package_name node['apache']['package']

  3:   version node['apache']['version']

  4: end

  5:

 




Archive powered by MHonArc 2.6.16.

§